On Sunday February 15 2009, Anders Johansson wrote:
On Sunday 15 February 2009 18:19:21 Greg Freemyer wrote:
...
I have a small script I want to run every bootup, but as a specific user.
Is there an official way to do that?
Add it to that user's crontab, and set the time to @reboot
Thanks for pointing that out. Even though I just recently perused the "crontab" (1 and 5) man pages, I didn't read down far enough on crontab(5) to notice the keywords. So for others, the available invocation time keywords in crontab files are: @reboot : Run once, at startup. @yearly : Run once a year, ie. "0 0 1 1 *". @annually : Run once a year, ie. "0 0 1 1 *". @monthly : Run once a month, ie. "0 0 1 * *". @weekly : Run once a week, ie. "0 0 * * 0". @daily : Run once a day, ie. "0 0 * * *". @hourly : Run once an hour, ie. "0 * * * *".
Anders
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org