Been wondering this for a while — how do you make a cron script that will only run once, when your server boots?
Just append “@reboot” before the command, instead of the usual time information (at least on Ubuntu Server 12.04):
- @reboot /path/to/execuable1