IIRC in that particular code snippet -1 was deprecated in favor of the
more standard @reboot keyword. I have not noticed such a bug, but will
certainly check it out for a possible regression.

On Sep 16, 4:23 pm, Iceberg <[email protected]> wrote:
> Hi Achipa or Kacper,
>
> I noticed that in gluon/contrib/cron.py rev1189, a pair of lines in
> previous rev as:
>
>   if task['min'] > -1 or ctype == 'ext':
>     go = False
>
> are changed into:
>
>   if ctype == 'ext':
>     go = False
>
> Though I don't fully understand the purpose of the former, but at
> least the latter causes a bug when using "hard" cron mode. My tasks
> defined as "10 1 * * * blah" are still invoked hourly.
>
> Hope above information is enough for reproduce the bug.
>
> Sincerely,
> Iceberg
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to