Sunday, 6 March 2016

Run shell script at start of System

Using cron this can be accomplished .

crontab -e
then select editor (vim,gedit,nano)

Add following command in crontab editor :

@reboot  /path/toscript/

Then save the crontab . Now each time your system bootups this script will be invoked.

No comments:

Post a Comment