Hey Ackim,
The NT Resoure Kit provides an AT scheduler ...
Just install it, configure your command script and
identify the run times ...
Unless you do not have Local Admin access to this NT server,
there is no need to re-write a scheduler ...
regards
SunDog
Why don't you try the built-in scheduling program in NT? best bet. Then
have it run the specified script when you want.
- Original Message -
From: Ackim Chisha [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 28, 2001 7:56 AM
Subject: Script for Sheduling jobs on NT
Windows NT/2000 built-in scheduler, the at program, will work, I
believe, but if your script is to run every 5 minutes, you might
simply use Perl's sleep command to time iterations of some loop.
That way the script's process won't have to start and stop
repeatedly. It will simply wait in the
:[EMAIL PROTECTED]]
Sent: Saturday, July 28, 2001 3:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Script for Sheduling jobs on NT
Windows NT/2000 built-in scheduler, the at program, will work, I
believe, but if your script is to run every 5 minutes, you might
simply use Perl's sleep command to time
:
at \\remotemachine 23:30 /every:monday c:\tasks\myscript.pl
Type at /? to get all the options.
Steve H.
-Original Message-
From: SunDog [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 28, 2001 1:48 PM
To: Ackim Chisha
Cc: [EMAIL PROTECTED]
Subject: Re: Script for Sheduling jobs on NT
Hey Ackim
On Sat, Jul 28, 2001 at 01:56:46PM +0200, Ackim Chisha wrote:
Does any one already have a perl script for NT that I could use to run like
a cron job in unix. Am writing a scrip that I need to have running every 5
minuteseveryday. Or is there a way I can write my script so that it runs
every