(locate is not found)Slow way:Fast way (if you have mlocate and an up to date database)Code:
find / -name coldrebootFast way (if it's in your current PATH variable)Code:
No, that should be fine too. I didn't say anything about crontab -e.
I tried editing the crontab -e, and it gives an error after trying to save it:
1. I open crontab -e
2. As the very last line, I added
echo "*/10 * * * * root coldreboot" >> /etc/crontab
File Name to Write: /tmp/crontab.vRAQPb/crontab
no crontab for root - using an empty one crontab: installing new crontab " /tmp/crontab.vRAQPb/crontab":22: bad minute errors in crontab file, can't install. Do you want to retry the same edit?
And thats where I am with that.
All this seems awfully convoluted and complicated for my desire to add one little command to reboot a rig every x minutes. I just thought Linux would excel in executing something like this.....