GreatestOne
Limp Gawd
- Joined
- May 15, 2005
- Messages
- 488
(locate is not found)Slow way:Fast way (if you have mlocate and an up to date database)Code:find / -name coldreboot
Fast way (if it's in your current PATH variable)Code:locate coldreboot
Code:which coldreboot
No, that should be fine too. I didn't say anything about crontab -e.
Code:
which coldreboot
Code:
/sbin/coldreboot
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
Code:
echo "*/10 * * * * root coldreboot" >> /etc/crontab
Code:
File Name to Write: /tmp/crontab.vRAQPb/crontab
5. Error:
Code:
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.....