Date: Sat, 3 Dec 2005 17:51:32 -0800 From: Colin Andrew Percival <cperciva@sfu.ca> To: Ian Lord <mailing-lists@msdi.ca> Cc: freebsd-questions@freebsd.org Subject: Re: schedule a script at "system startup" Message-ID: <20051204015132.GA29700@sfu.ca> In-Reply-To: <7.0.0.16.2.20051203115712.054a1c70@msdi.ca> References: <7.0.0.16.2.20051203115712.054a1c70@msdi.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051204015132.GA29700>