Opened 12 years ago

Closed 11 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: Tetsuya Morimoto
Priority: normal Component: TracCronPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

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 12 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 12 years ago by Thierry Bressure


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

comment:3 Changed 11 years ago by Tetsuya Morimoto

Owner: changed from Thierry Bressure to Tetsuya Morimoto

comment:4 Changed 11 years ago by Tetsuya Morimoto

Status: newassigned

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

comment:5 Changed 11 years ago by anonymous

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Tetsuya Morimoto.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.