How do I make a program run at startup in Linux?
Answer
Automatically run program on Linux startup via cron
Answer
Automatically run program on Linux startup via cron
- Open the default crontab editor. $ crontab -e. …
- Add a line starting with @reboot. …
- Insert the command to start your program after the @reboot. …
- Save the file to install it to the crontab. …
- Check if crontab is properly configured (optional).