Actions
Bug #25644
closedDay of week in cron command is not calculated correctly
Start date:
2010-01-09
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Problem:
If cron command is set to "1 1 * * 1" a task is executed every day, but it should be executed every monday only . Additionaly if both fields (day of month and day of week) are restricted, result should be an additive accumulation of both fields.
(see 'man 5 crontab' if using vixiecron on your favorite unix).
Solution:
Add a test if day of month is not restricted (* in 3rd part) and unset already calculated list of days for day of week calculation, otherwise combine arrays.
Notes:
Run the test cases to see what happens. The tests depend on #13191 and will be committed to trunk only.
(issue imported from #M13193)
Updated by Christian Kuhn almost 15 years ago
- Committed to trunk rev. 6865
- Committed to 4.3 rev. 6867
- Committed testcase to trunk rev. 6866
Updated by Francois Suter over 12 years ago
- Status changed from Resolved to Closed
Updated by Michael Stucki almost 11 years ago
- Project changed from 739 to TYPO3 Core
- Category changed from scheduler to scheduler
- Target version deleted (
0)
Actions