Reputation: 388
I have a well working fcron on my WSL Ubuntu 18.04. however I could not get the bootrun
option to take effect:
&bootrun 0 * * * * echo "make a log entry $(date)" >> ~/myfiles/fcron/testlog.log
according to the fcron documentation the bootrun
option tells fcron to execute jobs that have been missed due to the system being shut off. So when I turn on the computer, i should find those log entries for every hour during the previous night. However, this is not happening. There are only log entries from then my computer was running. how can i Fix this?
Upvotes: 2
Views: 331
Reputation: 1
This one works for me, fcron v. 3.3.1
&runatreboot,runonce 0 * * * * echo "make a log entry $(date)" >> ~/myfiles/fcron/testlog.log
Upvotes: 0