try the command sleep
for 5 min it would be
sleep 300;
(300 seconds)
James Hughes
DREGIS Dresdner Global IT-Services Gesellschaft mbH
Bankbetrieb
Server u. Gesch�ftsstellenservices (SH GM) Telephone
+49 (0) 69 / 2 63 - 82653
Fax +49
(0) 69 / 2 63 - 10 347
Wilhelm-Leuschner-Stra�e 4-6, 4. OG
60627 Frankfurt / Main, Germany E-Mail [EMAIL PROTECTED]
-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 13. August 2002 18:41
An: [EMAIL PROTECTED]
Betreff: How do you put a delay/pause/wait in Perl?
I've searched online, but it's difficult when I have no idea what the
command is.
I want to have a script execute, but if a condition is not met,
for it to
wait five minutes and try again. I would prefer to do this
without using a
'while' loop, because I don't know what that would do to the
system load.
Can anyone point me in the right direction?
Thank you,
Shawn
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
--
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]