Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2005 16:47:40 +0100 (CET)
From:      Svein Halvor Halvorsen <svein-freebsd-questions@theloosingend.net>
To:        Ian Lord <mailing-lists@msdi.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: schedule a script at "system startup"
Message-ID:  <20051204164431.Q8514@maren.thelosingend.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

* 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.



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