polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Merlin <p...@nosphere.org>
Subject Re: Scheduler library
Date Mon, 16 Nov 2015 17:41:49 GMT
Niclas,

Niclas Hedhman a écrit :
> A heads-up...
>
> Still not working properly. Some initialization issues and also that the
> Cron routine returns "now" if "now" was just executed. Need to push it
> forward one second for it to grab the next point in time.

About that second forward, it looks like a mismatch between Zest
CronShedule::nextRun() method contract and the one of the underlying
cron library ::firstRunAfter() method.

I reworked the code so this mismatch is isolated under ChronSchedule
implementation, close to the underlying cron library.

/Paul


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message