Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Dec 2005 18:02:17 -0800
From:      Daniel Rudy <dr2867@pacbell.net>
To:        Ian Lord <mailing-lists@msdi.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: schedule a script at "system startup"
Message-ID:  <43939FA9.3080501@pacbell.net>
In-Reply-To: <7.0.0.16.2.20051203201101.061b5dd8@msdi.ca>
References:  <7.0.0.16.2.20051203201101.061b5dd8@msdi.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
At about the time of 12/3/2005 5:18 PM, Ian Lord stated the following:

> Hi,
> 
> 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
> 
> Thanks
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 

@reboot username command

The @reboot is a BSD extension.

-- 
Daniel Rudy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43939FA9.3080501>