Run script at boot time

Karl Auer kauer at biplane.com.au
Sun Nov 14 09:36:33 UTC 2010


On Sun, 2010-11-14 at 11:28 +0200, Shahar Dag wrote:
> >> I want to run the script when the computer boots.
> >> [...]
> >> The script is started by an entry in /etc/crontab

The right way to run such a script is as a startup script rather than
from cron. This is exactly what the whole startup script system is
*for*. Then you can precisely control where in the startup sequence and
for what runlevels the script will run.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)                   +61-2-64957160 (h)
http://www.biplane.com.au/kauer/                   +61-428-957160 (mob)

GPG fingerprint: B386 7819 B227 2961 8301 C5A9 2EBC 754B CD97 0156
Old fingerprint: 07F3 1DF9 9D45 8BCD 7DD5 00CE 4A44 6A03 F43A 7DEF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101114/815f4092/attachment.sig>


More information about the ubuntu-users mailing list