noob question on init scripts
Jim Cheetham
jim at egressive.com
Wed Feb 23 03:25:49 UTC 2005
On Wed, 2005-02-23 at 11:18 +0800, Senectus . wrote:
> I have a command I want to run every time I start the PC, would
> putting it in the init.d directory be the best practice way of doing
> it?
If it's a "system" task, then possibly, yes - there's a load of overhead
to doing it correctly, just putting a file in there will not result in
it being run.
As an alternative, you could reference your command in crontab, using
the @reboot time specification instead. That might be more appropriate.
See 'man 5 crontab'
--
-jim cheetham = jim at egressive dot com
www.egressive.com, www.effusiongroup.com
More information about the ubuntu-users
mailing list