by permitivity » Tue Nov 12, 2013 2:14 am
I've been trying to get my pogoplug to automatically reboot once every day. I haven't had much success. Maybe someone can point out what I'm doing wrong?
I do this:
$this->bbcode_second_pass_quote('', '
')crontab -e
The online line is this:
$this->bbcode_second_pass_code('', '00 05 * * * /usr/bin/reboot')
Do I have to do something special to activate this cron job? I'm just editing the file, saving it. I know sometimes if you change a .service file, you have to reload it. I've definitely rebooted to see if it helps the reboot cron job work, but it hadn't.
I'm also wondering if I could make perform a "systemctl stop XXXX.service", and then a "systemctl start XXXX.service" a minute later to restart a program.
Thanks for any input.