Bug #66435

Epic #77562: Misbehaviors with datetime values and timezones

Scheduler Task - Cron Command for recurring tasks not evaluated correctly

Added by Alex B over 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2015-04-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi,

when creating a task in the scheduler, set it to recurring and use a cron command, the next execution is displayed and executed wrong.
The resulting execution time is also dependend on the current time when the task is saved.

The cron command e.g.:
*/10 * * * 4
which translates to: run every 10 minutes on thursdays, so it should start at 0:00 thursdays, then 0:10, 0:20, ...
But when i save the task the next run is stated for the correct day, but with a start time from the current time.

Example:
it is now: 15.04.2015 12:45
saving the above cron command the next execution is: 16.04.2015 12:50
which is the correct day but wrong time. And this is not only a display problem. The execution really starts there.

Even stranger:
if i save with the following command at 12:45h:
/10 8-11 * * 4
the next execution is correctly stated at: 16-04-15 08:00
if i save this one
/10 8-12 * * 4
i get the next execution wrong at this time: 16-04-15 12:50

Cheers & Thank you

Alex

Also available in: Atom PDF