Greetings,

I have been implementing some cron jobs for my app, and was surprised to
find they did not execute this morning.

The web2py documentation on cron notes that the cron schedule is as
defined on the following page:

http://en.wikipedia.org/wiki/Cron#crontab_syntax

with some extensions for web2py.  However there are some fairly
significant differences:

1. Day of week abbreviations "mon", "tue" etc. are not recognised by
web2py's cron (mainly because Python's time.localtime() returns a number
representing day of week, and this is not converted or mapped to the
three character abbreviation anywhere).

2. The Wikipedia page notes that Sunday is week day 0, but Python's
time.localtime() returns Monday as week day 0.

It would be advantageous if these discrepancies could be noted in the
web2py cron documentation.

Rowdy

--
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to