[TYPO3-core] RFC #13193: Bug: Day of week in scheduler cron command is not calculated correctly

Christian Kuhn lolli at schwarzbu.ch
Mon Jan 18 02:18:44 CET 2010


Reminder #1

This bugfix should be easy to test on trunk, since #13192 has been
committed. Fix is valid for trunk + 4.3, test for trunk only.


Christian Kuhn wrote:
> This is SVN patch request.
> 
> Type: bugfix
> 
> Branches: trunk, 4.3
> 
> BT reference: http://bugs.typo3.org/view.php?id=13193
> 
> 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 #13192 and
> will be committed to trunk only, while the bugfix should go to 4.3 too.
> 
> Regards
> Christian
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
> 
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core



More information about the TYPO3-team-core mailing list