Hi,
you could write a handler for the signal alarm that starts a new process and
kills the current:
$SIG{ALRM} = {
    `this-script`;
    exit;
};

At the beginning of the script set the alarm to go off 24 hours later:
alarm(84600);

DISCLAIMER: haven't really thought it through and it's really hacky, so
don't have a go at me (but it is quick to do).

Cheers!



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

Reply via email to