Perhaps write a perl script that is inifinitely looping and sleeps 10 secs
then runs your other script.
while (1){
sleep 10;
system(myotherscript.pl);
}
-Original Message-
From: Lance Prais [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 10:51 AM
To: Perl
Subject:
How about using the sleep function in the script?? perldoc -f sleep
-Original Message-
From: Lance Prais [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 10:51 AM
To: Perl
Subject: scheduler question
I have written a Perl script that needs to be executed every 10 seconds.
How
-Original Message-
From: Lance Prais [mailto:[EMAIL PROTECTED]]
I have written a Perl script that needs to be executed every
10 seconds.
How would I go about doing this. I am working with Perl on
NT and using
scheduler and the lowest I can set it to is 1 minute.
while (1)
use WinCron
You can find it on http://google.com
search for WinCron
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It's amazing that wincron turned up more results than wincrap
http://www.google.com/search?hl=enie=UTF8oe=UTF8q=wincrap
-Original Message-
From: Mikhail Kyurshin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 11:58 AM
To: Perl
Cc: Lance Prais
Subject: Re: scheduler
Depending on how long the job takes, this little script runs about every 10
seconds. If you want to be more exact I think you'll have to fork.
#!/usr/bin/perl -w
use strict;
use POSIX;
# Start the loop for the daemon
while(1) {
my(@now) = localtime();
my($today) =
Good one..Wonder how you stumbled across it. Typo error ?? :)
-Original Message-
From: Nikola Janceski [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 11:03 AM
To: Perl
Subject: RE: scheduler question
It's amazing that wincron turned up more results than wincrap
http