schedule a script at "system startup"
dr2867 at pacbell.net
Sun Dec 4 18:01:57 PST 2005
At about the time of 12/3/2005 5:18 PM, Ian Lord stated the following:
> 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...
> is there a way to do it with cron ? or otherwise is there another way ?
> I guess there might be a way to put a script in /etc/rd.d/ but I
> don't know how to run it under a specifid uid
> Any help would be appreciated
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
@reboot username command
The @reboot is a BSD extension.
More information about the freebsd-questions