Raul Miller wrote: > If a user is overkill then cron probably is too. You'd probably do > fine with something like > > ( > trap "" SIGHUP > su nobody -c ' > while sleep 300; do > whatever; > done </dev/null >/dev/null 2>&1 & > echo $! > ' >/var/run/mtrg.pid > )
I'd much rather have a cron job for this than keep another process running all the time. Cron is there so we don't have to use this sort of hack. -- see shy jo -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .