schedule a script at "system startup"
    Colin Andrew Percival 
    cperciva at sfu.ca
       
    Sat Dec  3 17:51:36 PST 2005
    
    
  
On Sat, Dec 03, 2005 at 08:18:12PM -0500, Ian Lord wrote:
> 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 ?
Create a crontab file for the user, and use the magic value "@reboot" for
the date/time.
Colin Percival
    
    
More information about the freebsd-questions
mailing list