run command in startup ubuntu

  1. Running crontab -e will allow you to edit your cron.
  2. Adding a line like this to it:@reboot /path/to/script will execute that script once your computer boots up.
@reboot /path/to/script

Disabling “Use Socket For PHP-FPM” did the trick.


Leave a Reply