[Backgroundrb-devel] Schedule parser

Meng Kuan mengkuan at gmail.com
Wed Jan 30 13:19:16 EST 2008


On 31 Jan 2008, at 2:12 AM, Scott Ward wrote:

> I wonder if its because you need 7 entries for trigger_args?
>
>> From the docs:
>
> The fields (which can be an asterisk, meaning all valid patterns) are:
>     sec[0,59] min[0,59], hour[0,23], day[1,31], month[1,12], weekday 
> [0,6],
> year
>
> Looks like you're missing "year".  Of course, that may not be right  
> since
> your second example works...
>

I just added a '*' to the end for the 'year' argument as you  
mentioned but same results. The year argument is probably optional.


Btw, the trigger_args that actually worked for me is

   :trigger_args: 30 * 0,1,2 * * 2,3,4,5,6


This one that I posted in my first mail gave the same errors:

   :trigger_args: 30 * 0,1 * * 2,3,4,5,6


More information about the Backgroundrb-devel mailing list