Cronjob at startup under OSX

#run: crontab -e
@reboot sudo /path/to/your-command

Additional you also need to edit sudo file by adding:

#run: sudo visudo
your-user-name ALL = NOPASSWD: /path/to/your-command