Joey Hess <[EMAIL PROTECTED]> wrote: > Having a user for mrtg doesn't seem very appropriate to me, though. > Mrtg is a simple program, that needs to run every 5 minutes. A user is > overkill.
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 ) -- Raul -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .