On 3/21/01, Braver, Ben penned:
>Hi,
>
>I've been looking in the CF Doc and the CF-Talk archives and can't find an
>answer on this, apologies if there was one and I missed it...
>
>Am looking for console commands to run under NT with "AT" to schedule
>stopping and starting the CF service.
>We are currently running good 'ol CF 3.1.0 with IIS on NT 4.0, but will soon
>be upgrading to CF 4.5.1 on Win 2K.
>
>(Am currently using the applet to Stop/Start the service manually, but
>understand this is not in later versions of CF for security reasons.)

Hi. If you paste this into notepad, name it stop_start_cf.cmd and 
save it in cfusion\bin then go into Scheduled Tasks and click Add 
Task. Put in the path to the file under Run then schedule it to run 
every day at 4 AM or whenever, it should work fine. :)

net stop "Cold Fusion Executive"
net stop "Cold Fusion RDS"
net stop "Cold Fusion Application Server"
net start "Cold Fusion Application Server"
net start "Cold Fusion RDS"
net start "Cold Fusion Executive"
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to