I would like to reboot my system every week or so. perhaps at 3am or so. would like to do a polite reboot such that if there is a call on, the system should wait for the call to complete.
1. i did crontab -r and entered the following line
3 3 * * 0-6 root /sbin/reboot > /dev/null
Problem 1: Nothing happenes. I have now discovered that /etc/crontab file looks completely different. Scratching my head as to why crontab -l shows a different two line listing including the one above!?
Problem 2: Now onto inserting the reboot line in /etc/crontab.
Or should I modify the line above somewhat to do polite rebooting? If so what should the line be?
Problem 3: When I invoke mail from command line, I see that there are thousands of mail collected. I think these are failed cronjobs or alert messages that are clogging up the mailbox. I recall that one can append another &> /dev/null to crontab command lines, to avoid the error messages. But i am thinking I should rather address the errors. Question: Is there a software other than mail installed using which I can browse the mails - I noticed Pine is not installed.
1. i did crontab -r and entered the following line
3 3 * * 0-6 root /sbin/reboot > /dev/null
Problem 1: Nothing happenes. I have now discovered that /etc/crontab file looks completely different. Scratching my head as to why crontab -l shows a different two line listing including the one above!?
Problem 2: Now onto inserting the reboot line in /etc/crontab.
Or should I modify the line above somewhat to do polite rebooting? If so what should the line be?
Problem 3: When I invoke mail from command line, I see that there are thousands of mail collected. I think these are failed cronjobs or alert messages that are clogging up the mailbox. I recall that one can append another &> /dev/null to crontab command lines, to avoid the error messages. But i am thinking I should rather address the errors. Question: Is there a software other than mail installed using which I can browse the mails - I noticed Pine is not installed.