Run programs at startup via crontab

Nov 05, '04 09:26:00AM

Contributed by: Ksenia

There is an easy way to start a program during system boot. Just put this in your crontab:

  @reboot /path/to/my/program
The command will be executed on every (re)boot. Crontab can be modified by running
  crontab -e
More information about crontab options is available in the man page:
  man 5 crontab
[robg adds: I haven't tested this one...]

Comments (20)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20041105070509783