Yeah... why don't you use a batch file and the windows scheduler? here's my sample batch files:
vspider.bat (this is the file that the scheduler actually uses) Echo Off REM this is the vspider initialization file to automate searching through REM the verity search engine in cold fusion 5. REM written by jon roig ([EMAIL PROTECTED]) in april of 2002 Echo Running the spider... Echo Spider Session Begun >> C:\batch\spider_output.txt C:\CFusion\Verity\_nti40\bin\vspider.exe -start http://206.239.147.35/spiderplatz.cfm -collection c:\cfusion\verity\collections\main_site\file -cgiok -agentname "EF Spider (setup by [EMAIL PROTECTED])" -exclude */forums/* */lscadmin/* */newsletters/* *ezinesignup* *estore_view_cart* *estore_checkout* *AddToCart* *mailpage.cfm* *getprint.cfm* >> C:\batch\spider_output.txt REM Pause before rebooting k2 server PING 1.1.1.1 -n 30 -w 1000 >NUL Echo Rebooting Verity Echo Rebooting k2 server >> C:\batch\spider_output.txt PATH = c:\cfusion\verity\_nti40\bin k2server.exe -ntservice 0 k2server.exe -inifile c:\cfusion\verity\_nti40\bin\k2server.ini -ntservice 1 echo Done! echo done! >> C:\batch\spider_output.txt ----------------------- At any rate, that works for me.... I'm sure a clever batch file scripter could write something better.... but this seems to get the job done.... Just so you know, that line that begins "C:\CFusion\Verity\_nti40\bin\vspider.exe -start" appears as several lines in the email, but in my bat text file, it's really just one line.... I'm assuming you're working with windows -- I'm sure you could adapt this for linux cron jobs, though. -- jon ------------- jon roig senior manager, online production epilepsy foundation phone: 215.850.0710 site: http://www.epilepsyfoundation.org email: [EMAIL PROTECTED] -----Original Message----- From: Jamie Jackson [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 4:53 PM To: CF-Talk Subject: CFExecute creating hung processes (& Verity K2) I've experienced the <cfexecute> problem where if you: (1) Don't specify an output file (2) Get a long output (>4K, I think) from your executable then you get a hung process on your server, requiring the kill (process) command. Does this problem still occur if you *do* write an output file? Any workarounds either way? I ask, because I'm trying to determine the best way to schedule Verity K2 indexing jobs (through cfschedule or AT). CF5, BTW. Thanks, Jamie ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

