Closed abitrolly closed 4 years ago
The use of cron is outside of the scope of watchme, but if it would be helpful to you, I'd be happy to add a few notes to the README. Do you have other ideas for what could trigger watchme, aside from cron that you'd like to look into?
I added a "limitations" section to the README so this is known off the bat. if you think of another way to schedule tasks aside from cron, definitely let's chat about if we can support it.
cron
is not that bad as I thought. On modern Linux it always available and works even when user is logged out. I confused its behaviour with systemd
timers. Timers won't work outside user session without special configuration. Edited my post to cross out cron
reboot recovert from common problems.
I've heard that anacron
can recover missing job. And Airflow, but the latter is too complicated.
What is your question?
I want to grab the coronapocalyse stats from my country site every day. Because my notebook can be offline on certain days, I am looking for some hosting like Heroku. The problem is that Heroku instances are restarted from time to time and I am afraid to lose the data.
It may worth mentioning in
README.md
thatwatchme
runs in user session and won't survive reboot - cron jobs will start again only when user is logged in. For reliable server-side service, more steps are needed.I am not ready to provide a solution, but I can provide common problems.
After reboot scheduler (which iscron
) won't start.It is helpful to know how
watchme
can help to reduce these risks.If the documentation doesn't answer your question, where do you think it would be appropriate to add (i.e., where did you go looking for it?)
Short
README.md
notice aboutwatchme
limitations would be enough.