> Having difficulty finding examples or better documentation > on the CF 5 Scheduler... > > I'm about to attempt to try for the first time to run a > scheduled task once an hour on my server - Win2K, IIS, and > CF 5. I want to schedule a task that automatically retrieves > the latest Symantic virus definition files hourly instead of > the minimum daily that the System Center console allows for > directly. > > It's literally a one line code thing - a command prompt > execution of the Live Update system configured to only get > the definition files and exclude product updates. > > As the documentation is overly thin for someone unfamiliar > with this sort of process, I have CLUE ZERO regarding how to > execute a server based executable with command line variables > through the scheduler, as the only "option is CFHTTP... > > So...... any help or pointing to more info is extremely > appreciated...
You can only run HTTP requests with the CF scheduler. If you wanted to run a program on your own server, and if that program doesn't have a CGI interface, you'd have to write a CF page that used CFEXECUTE to run the program, and schedule the execution of that page. However, I'd recommend that you just use your OS scheduler instead. On Windows, it's the Task Scheduler, which you can manage through the Windows GUI or using the "at" command from a command prompt. This way, you can take CF entirely out of the process. > AND ALSO I've heard (even today on this list) that CF 5 > doesn't handle Scheduled events too well - THOUGHTS? COMMENTS? Many people have encountered problems with the CF scheduler in CF 5 and earlier versions; a common solution is to use the OS scheduler even when you want to execute a CF page. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

