"Omega -1911" schreef: > James Turnbull: Please don't top-post. Please cut the text that you don't react upon, especially sigs'n'tails.
>> Anyone know of a way to create a loop (or something similar) that >> automatically schedules the execution of a sub-routine periodically >> from within a program, for example execute check() every 600 seconds >> or the like? The program would be running as a daemon on the host. > > Your best bet is to use a cron job for this. Otherwise, you'd waste > server resources. Why bet? See perldoc -f sleep. > What happens when the process is killed or the > server restarted? Same goes for other daemons. Ever killed crond? ;) -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>