I do not know other ways. probably you can try,
while (<>)
{
sleep x;
your script task;
}
This will let your script keep running and never exit, you can change "x"
value to setup the frequency as your wish.
Jeff Liu
-----Original Message-----
From: jeff [mailto:[EMAIL PROTECTED]]
Sent: December 28, 2001 12:37 PM
To: Beginners
Subject: RE: Automatic execute of script
Our business hosting service does not allow cron, they recommend checking
with a third party. I write the scripts on a windows machine and upload
them to the apache Unix server to test and execute them. Do you know of any
perl modules that self execute?
-----Original Message-----
From: Jeff Liu [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 28, 2001 11:45 AM
To: jeff; Beginners
Subject: RE: Automatic execute of script
If you are using Unix, add your script in /etc/crontab like this.
0 3 * * * root /usr/local/bin/your-script
0 means run at minute 0.
3 means run at 3:00a.m.
* means every day
Jeff Liu
-----Original Message-----
From: jeff [mailto:[EMAIL PROTECTED]]
Sent: December 28, 2001 11:41 AM
To: Beginners
Subject: Automatic execute of script
Does anyone know how to get a script to execute at a predefined time without
user interaction. I would like to monitor my sys clock and have the perl
script execute. Thanks
Jeff
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]