If you can write a Perl script to detect whether the program is running,
then to start it if it isn't, then you can run the Perl script in a loop,
using the 'sleep()' function to make it run every (up to you) seconds.
Just be aware that, if you use Task Scheduler in Windows, you will need to
schedule the job, then go into the GUI Task Scheduler interface, and tell
the script to "run as" a user with rights to do whatever it is you want to
do. You will need to enter a password for that user. Otherwise, when the
Task Scheduler launches the task, it will run as some kind of "system
user", who has basically no rights. The task does NOT inherit the rights
of the user who scheduled the task.
Shawn
felix_geerinckx@h
otmail.com To: [EMAIL PROTECTED]
cc:
08/20/2002 10:16 bcc: Shawn Milochik/US/GODIVA/CSC
AM Subject: Re: Is there a way to do
cron on windows?
on Tue, 20 Aug 2002 14:05:19 GMT, [EMAIL PROTECTED] (Daryl J.
Hoyt) wrote:
> I am looking for a way to run something like a cron job on
> windows.
<http://www.google.com/search?q=cron+windows>
Take your pick.
--
felix
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
**********************************************************************
This e-mail and any files transmitted with it may contain
confidential information and is intended solely for use by
the individual to whom it is addressed. If you received
this e-mail in error, please notify the sender, do not
disclose its contents to others and delete it from your
system.
**********************************************************************
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]