Opened 4 years ago

Closed 3 years ago

#10072 closed defect (fixed)

Trac cron plugin not working correctly for cron expression with day of week argument

Reported by: anonymous Owned by: t2y
Priority: normal Component: TracCronPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (last modified by rjollos)

I want to run a cron every working day at 17:45hs, It seems is not parsing correctly the "?" for day of month?

This is the expression I use: * 45 17 ? * 1-5 *

And this is the log I get:

2012-06-06 11:16:17,113 Trac[scheduler] DEBUG: parsing cron expression * 45 17 ? * 1-5 *
2012-06-06 11:16:17,114 Trac[scheduler] ERROR: invalid cron expression: ? day already have a value

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by rjollos

  • Description modified (diff)

comment:2 Changed 4 years ago by tbressure


I don't have time to maintain this plugin anymore. So this plugin looks for a new maintainer. Any one around ?

comment:3 Changed 3 years ago by t2y

  • Owner changed from tbressure to t2y

comment:4 Changed 3 years ago by t2y

  • Status changed from new to assigned

I could reproduce and confirmed this bug. I will fix into the next release.

comment:5 Changed 3 years ago by anonymous

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

as closed The owner will remain t2y.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.