using crontab to run command or script after reboot

Crontab can be used to execute a command after linux is rebooted.
type the following command on prompt#
prompt# crontab -e -u root
crontab editor will open... write down the command in following way.
@reboot <run as user> <command>

0 comments: