Start a program after reboot using cronjob

To start a program using cronjob, create a cronjob like

@reboot /root/start.sh

On system boot, the command “/root/start.sh” will be executed.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *