How to run a shell script at startup

Set a crontab for this

#crontab -e
@reboot  /home/user/test.sh

after every startup it will run the test script.

Leave a Comment