Tom Wood
2008-Jan-26 15:24 UTC
[Backgroundrb-devel] thanks, and a question about week day scheduling
I''m a big "fan" of BackgroundRB ... 1.0 came along just when
my project
needed it, and I''ve been very happy. Thanks much for this very helpful
piece of software.
My question: I have a worker scheduled cron-style as follows:
:notification_worker:
:notify:
:trigger_args: 0 0 8 * * 1,3,5 *
I.e., I want to run this particular worker method at 8:00a on
Monday/Wednesday/Friday.
According to the logs, however, this worker ran at 8:00a this morning,
which happens to be Saturday! I have checked the system date, and it is
correct.
Am I misinterpreting the weekday numbering convention (0 = Sun, 1 = Mon,
2 = Tue, etc., like cron), or did I find a bug?
BTW, this is not the only worker in the system.
Thanks.
-Tom W.
Tom Wood
thomas.a.wood at uconn.edu <mailto:thomas.a.wood at uconn.edu>
ITS Applications Developer
University of Connecticut Libraries
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080126/fa303fb3/attachment.html
hemant
2008-Jan-27 02:37 UTC
[Backgroundrb-devel] thanks, and a question about week day scheduling
On Sat, Jan 26, 2008 at 8:54 PM, Tom Wood <thomas.a.wood at uconn.edu> wrote:> > > > > I''m a big "fan" of BackgroundRB ? 1.0 came along just when my project needed > it, and I''ve been very happy. Thanks much for this very helpful piece of > software. > > > > My question: I have a worker scheduled cron-style as follows: > > > > :notification_worker: > > :notify: > > :trigger_args: 0 0 8 * * 1,3,5 * > > I.e., I want to run this particular worker method at 8:00a on > Monday/Wednesday/Friday. > > According to the logs, however, this worker ran at 8:00a this morning, which > happens to be Saturday! I have checked the system date, and it is correct. > > Am I misinterpreting the weekday numbering convention (0 = Sun, 1 = Mon, 2 > Tue, etc., like cron), or did I find a bug?There was a fix done in 1.0.1 and trunk for week day, are you using these versions? If not, upgrade. -- Let them talk of their oriental summer climes of everlasting conservatories; give me the privilege of making my own summer with my own coals. http://gnufied.org