I've created a simple script that pings a server, and reboots my machine if the server doesn't respond. if it does respond, it just exits the script. I've added the script to cron via crontab -e, specifically as follows */8 * * * * /root/hive/bin/pingtest once I add it, I can see cron executing the "pingtest" every 8 minutes just as I commanded. however, once the machine reboots (for whatever reason), that specific line in crontab is gone, it...
Originally asked by Josh H on Stack Exchange (askubuntu) (CC BY-SA 4.0).