2 ms·
If you need to save state across executions, you should write a daemon instead.
by absc 5y ago
If you need to save state across executions, you should write a daemon instead.
- jbverschoor 5y agoThen "rm" should be a daemon too
- adrianmonk 5y agocron applies this very method of attempting to handle state by merely being a daemon, and it's not enough because cron can crash. The approach you're suggesting is what led to the problem you're proposing it as a solution for.