Hacker News new | ask | show | jobs
by absc 1755 days ago
If you need to save state across executions, you should write a daemon instead.
2 comments

cron 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.

Then "rm" should be a daemon too