.------[ Daryl J. Hoyt wrote (2002/08/20 at 09:05:19) ]------ | | Hi all, | I am looking for a way to run something like a cron job on windows. I | would like to check every 10 minutes to see if an application is running. | If it is not running, I would then like to launch it. Is there a way to do | this in Perl (or any other way)? Any help would be appreciated. | `-------------------------------------------------
Not being a Windows user I believe they have something called System Scheduler or Task Scheduler, something like that which may be used for such purposes. An easier solution would be to write a small Perl script which is unlikely to crash, which simply sleep()s for 10 minutes, checks for the app running and if not re-launches. Not exactly an elegant solution, but it would work. --------------------------------- Frank Wiles <[EMAIL PROTECTED]> http://frank.wiles.org --------------------------------- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]