View Single Post
lorenzo's Avatar
Posts: 491 | Thanked: 299 times | Joined on Jul 2012 @ Pordenone IT
#1415
Originally Posted by baem90 View Post
how can i add reboot command? For example, reboot when at 3a.m.. Thank you in advance
1.condition: 3.00-3.01
2.reboot.sh script
Code:
#!/bin/sh

/sbin/reboot
3.rule: custom action
sh -c "echo rootme | devel-su -c 'sh /path/to/script/reboot.sh'"
 

The Following User Says Thank You to lorenzo For This Useful Post: