Y
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
adrianmonk
1755 days ago
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.
link
jbverschoor
1755 days ago
Then "rm" should be a daemon too
link
The approach you're suggesting is what led to the problem you're proposing it as a solution for.