Project

General

Profile

Actions

Feature #25646

closed

tx_scheduler_CronCmd does not correctly parse combined values for day of week

Added by Christian Kuhn almost 15 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Category:
scheduler
Target version:
-
Start date:
2010-01-10
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Problem:
Day of month value of cron command currently only parses a single integer value.
  • * * * 1,2 should match every monday and tuesday of the month
  • * * * 1-5 should match every weekday
  • * * * 1-5/2 should match Tuesday and Thursday
  • * * * 1-2,4,*/7 should match Monday, Tuesday, Thursday and Sunday

(issue imported from #M13195)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #25673: Numeric zero for representation of weekday sunday is not acceptedClosedMarcus Krause2010-11-09

Actions
Related to TYPO3 Core - Bug #25677: tx_scheduler_CronCmd needs refactoringClosedChristian Kuhn2010-11-29

Actions
Actions #1

Updated by Francois Suter almost 15 years ago

BTW note that day names should be supported too, as they are supported in the normal crontab. I'm not sure if they are supported both in short (e.g. "Mon") and long (e.g. "Monday") format.

Maybe this should be a separate bug report.

Actions #2

Updated by Stephan Großberndt over 14 years ago

Related too:

0 0 * * 0
should be every sunday, but at least at "Next Execution" it displays a wrong date (today is 11.08.2010, so next execution should be on 15.08.2010, but it displays 31.08.2010?!)

0 0 * * 1
works correctly ("Next Execution" on 16.08.2010)

Actions #3

Updated by Christian Kuhn almost 14 years ago

Resolved, fixed with #16611 for 4.5.

This won't be fixed in 4.4 and 4.3 anymore.

Actions #4

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions #5

Updated by Michael Stucki almost 11 years ago

  • Category set to scheduler
Actions #6

Updated by Michael Stucki almost 11 years ago

  • Project changed from 739 to TYPO3 Core
  • Category changed from scheduler to scheduler
Actions

Also available in: Atom PDF