Remove later as a dependency
Opened this issue · 2 comments
Not only is later
deprecated, but since we continuously run the tasks server regardless, we really have no need for anything other than plain setInterval
. We might also want to consider running a proper job scheduler that runs whole scripts as-needed instead (perhaps Bree).
My rationale was that setInterval might not be exactly what we want. Similar to how setTimeout is not precise, my understanding is that libraries like later
make sure that our tasks run on-time and that a slight error doesn't compound into something bigger.
Either way, I can work on this
Understandable (TIL it's not that precise!), although on the timeframes that we're working with, I'm not sure it really matters, plus it's not really that important that our tasks run exactly at 12:00:00, 12:05:00, 12:10:00, etc.