Another option if you've got SQL, is to schedule a SQL job and use
xp_cmdshell and a cmd file.

You can do error checking based on errorlevels and send mail, write to error
log etc etc.

Ian

-----Original Message-----
From: Weaver, Anthony [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2002 15:28
To: CF-Talk
Subject: RE: restarting a service


Couldn't you use CFEXECUTE and call a bat file that does a NET STOP and NET
START ?

-----Original Message-----
From: Mario Martinez [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 10:13 AM
To: CF-Talk
Subject: restarting a service


Hi friends:
This is my problem:
I need to restart a service periodically. I'm aware I can easily schedule
tasks in Coldfusion but ,is there any way to restart a service?? , I mean
any tag, function , etc . I got coldfusion installed in a windows 2000
server.
Thanks in advance for any help.
regards
Mario



______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to