mirror of
https://github.com/plashchynski/crono.git
synced 2026-01-11 21:10:24 +01:00
Mandatory at option
#54
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @charlie-wasp on GitHub (Nov 29, 2017).
Hi there, and thank you for the great work with this gem! I've got an idea, how we can make it even better.
It seems that at the moment crono does not provide any strict default value for
atoption in period setting. This fact leads to situations like this:So
nextis shifting according to the time of invocation. It can cause confusing situation, when your monthly (for example) task will never be performed, if you deploy (and hence restart) your app more frequently, than once in a month. Actually, me and my colleagues hit that :)So my proposal is to make
atoption mandatory, or provide some sensible default (midnight maybe?) to avoid such confusion?What do you think about it?