Actions
Feature #25643
closedAllow different timestamp as optional parameter in constructor of class tx_scheduler_croncmd
Start date:
2010-01-09
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Problem:
__construct() of class tx_scheduler_croncmd uses current timestamp to initialize the calculation of valid values of the cron command. This makes it hard to write testcases to this method. Those should ideally work with a fixed date to get simple expected values for testcases (eg. all Mondays of a month).
Solution:
Add an optional parameter to allow external setting of current timestamp.
(issue imported from #M13192)
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