I have a tiny computer, raspberry. It's a good computer. Recently, I got a problem when it run crontab and the problem is as this title. Otherwise, the system is always to restore. After editing crontab and then rebooting, when I checkout crontab schedule, it is still same as before.
What I do a test to proof crontab workable is to make a schedule as below:
*/3 * * * * /bin/echo "hi" >> /home/test.txt
(In every 3 minutes to generate "hi" to test.txt)
In addition, I add a file to a path such
touch test.txt.It will disappear after reboot. So, I think the matter is on system restore.
Then, I found a curious matter on the "system time". It's always pegged on a specific system time. For instance, without internet connection,
user@host$ date always restore to
Mon Nov 20 09:11:04 CST 2017 when I reboot the system.
Of cause, with internet connection, the system has the correct time displaying the current latest time.
I do more examination such as getting off apache2 service-
a2dissite mysite.conf. When I reboot, the system restore to the specific system time I mention above. (without internet connection.)
Are there any clues about this matter?