Directory watcher for standard edition
Where can I find the equivalent of the directory watcher gateway for cf standard edition? I want to be able to use my existing directory watcher code without change. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238062 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Directory watcher for standard edition
Set up a cron job at 1 minute intervals? That's going to likely be the best way to do this. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Chris Velevitch [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 3:18 AM To: CF-Talk Subject: Directory watcher for standard edition Where can I find the equivalent of the directory watcher gateway for cf standard edition? I want to be able to use my existing directory watcher code without change. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238074 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Directory watcher for standard edition
if you're on win32, I can post instructions on how to make a service that will accomplish the something similar. I've used it to create a report que that runs every 10 seconds. On 4/19/06, Andy Matthews [EMAIL PROTECTED] wrote: Set up a cron job at 1 minute intervals? That's going to likely be the best way to do this. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Chris Velevitch [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 3:18 AM To: CF-Talk Subject: Directory watcher for standard edition Where can I find the equivalent of the directory watcher gateway for cf standard edition? I want to be able to use my existing directory watcher code without change. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238118 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Directory watcher for standard edition
So, how would I call my cfc from a cron job or win service? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238226 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Directory watcher for standard edition
I use a batch file that calls wget for win32 to call the template all run from the service On 4/19/06, Chris Velevitch [EMAIL PROTECTED] wrote: So, how would I call my cfc from a cron job or win service? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238235 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Directory watcher for standard edition
Chris, So, how would I call my cfc from a cron job or win service? You can always build a separate CFML template that invokes the methods in your CFC--that way you can re-use your CFC, but still build something that works in CF Standard. You could then have the template compare the directory results against the last time it ran to see what changes have occurred--which files have been deleted, which have been added, updated, etc. I'd probably even take it a step further save the state of the last directory results--that way you know what has changed after a reboot or restart of the services. -Dan ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238237 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Directory watcher for standard edition
I use a batch file that calls wget for win32 to call the template all run from the service You can also use curl (http://curl.haxx.se/.) I prefer curl because it handles more protocols (FTP, FTPS, TFTP, HTTP, HTTPS, TELNET, DICT, FILE and LDAP) than wget. -Dan ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238238 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54