You could just sleep for 10800 seconds at the end of an infinite loop. If demands are placed on the system while your script is sleeping, it will be paged out, so no harm there. You should just take care to close all your file or socket descriptors before sleeping.
Also, you could set it up to listen for SIGINT signals, and exit gracefully upon reception of such a signal.
In reply to Re: Using perl as a cron script?
by grinder
in thread Using perl as a cron script?
by BUU
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |