@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...]