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)
Actions