RE: perl sleep

2002-01-07 Thread Scott
Thank you to everyone for the help. I think the timer should be easy enough to implement in perl. My concern was memory usage with the NT task scheduler and would rather have perl do the chore. At 06:52 PM 1/7/2002 +, Stout, Joel R wrote: >I used to do this with NT Scheduler (if you have t

RE: perl sleep

2002-01-07 Thread Stout, Joel R
Here a little daemon that runs my Perl FTP program with different job cards. It runs every 5 minutes. #!/usr/bin/perl -w use strict; use POSIX; # Start the loop for the daemon while(1) { my(@now) = localtime(); my($today) = POSIX::strftime( "%m/%d/%Y", @now); my($ti

RE: perl sleep

2002-01-07 Thread Tisdel, Matthew
This used to be the method that MRTG used on a NT machine. The newer versions do not do this, so you will have to find older versions with docs that tell you how to do it. Actually, I remember there being an NT script, or little Perl program that added all of this for you. I got the following from