mysc:2345:respawn:su - someuser -c /path/to/myscript

Thanks!

And I guess if I want to write output to a file I do this:

mysc:2345:respawn:su - someuser -c /path/to/myscript >> /var/log/myscript.log


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to