schedule a script at "system startup"

Svein Halvor Halvorsen svein-freebsd-questions at theloosingend.net
Sun Dec 4 07:47:43 PST 2005


* Ian Lord [2005-12-03 20:18 -0500]
>  I would like to run a shell script at system startup which needs to run under
>  a specific uid...
>  
>  I don't see anything for this in man cron...

See crontab(5)

You can use the @reboot magic to make cron run a script once, at startup.


More information about the freebsd-questions mailing list