by 1500100900 · 5y ago · 0 comments
https://man.openbsd.org/crontab.5
"-s command
Only a single instance of command will be run concurrently. Additional instances of command will not be scheduled until the earlier one completes."
But I don't think it saves the state somewhere permanently, which isn't a big problem until cron's process dies for some reason.
The approach you're suggesting is what led to the problem you're proposing it as a solution for.