Not firing task due
I have a task specified as */10 8-12 * * 1-5 and ran the application exactly at 12:10 on a Thursday. Yet it did not consider it due, despite the fact it was listed as such previously using the NextTick() method
Apparently, if the code is not executing exactly at the ZERO second of that minute, the due attribute is not set, so basically it will never see it as due unless you are very lucky.
It would be nice if it had a user option to use minute precision instead of the default seconds precision.
sorry for late, if all the cron expressions are fulfill-able by minute precision then minute is used instead of second: https://github.com/adhocore/gronx/blob/main/pkg/tasker/tasker.go#L285
https://github.com/adhocore/gronx/blob/main/pkg/tasker/tasker.go#L261
sorry for late, if all the cron expressions are fulfill-able by minute precision then minute is used instead of second: https://github.com/adhocore/gronx/blob/main/pkg/tasker/tasker.go#L285
https://github.com/adhocore/gronx/blob/main/pkg/tasker/tasker.go#L261
Then what would be wrong with the spec I used above?