At 05:56 PM 1/24/2002 -0500, you wrote:

>--you could run a script a few ways, but, for cron, you
>could do something like:
>
>[example]
>
>0,5,10,15,20,25,30,35,40,45,50,55 * * * * sh /home/shaunn/scripts/reminder
>
>[/example]
>
>--but that seems just as strange as, say, putting a 'sleep' clause in
>one of your scripts.  i'm sure there is a way to call a system
>command in perl and say:
>
>system ('sleep 300');
>
>--or something like that.
>
>--anyone care to offer a better idea?  i'm sure they're out there ...

if the script died for whatever reason, the sleep wouldn't help would it?

Also,  cron will sometimes allow a 'skip' value.
0-60/5  *  *  *  *  /path/to/script
or:
*/5  *  *  *  *    /path/to/script

Skips every 5 minutes.

Roger

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to