Everyone knows that crontab entries look like this:
* * * * * /usr/local/bin/my-script
Which will execute command “my-script” every minute.
Continue reading “Cron @reboot execute command on system start like rc.local”
Everyone knows that crontab entries look like this:
* * * * * /usr/local/bin/my-script
Which will execute command “my-script” every minute.
Continue reading “Cron @reboot execute command on system start like rc.local”
Force Reboot :
#echo 1 > /proc/sys/kernel/sysrq #echo b > /proc/sysrq-trigger
Force Shutdown:
#echo 1 > /proc/sys/kernel/sysrq #echo o > /proc/sysrq-trigger