Project

General

Profile

Actions

Bug #88371

closed

Valid cron frequencies are not allowed in scheduler

Added by Tomas Norre Mikkelsen over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2019-05-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

I was creating a new scheduler job, with following cron frequence:

15 02 * * *

This gave me the error:

Invalid frequency. Please enter either a number of seconds or a valid cron command. The cron parser said: Unable to normalize integer field. [code: 1291429389].

Label

The label of the field says: Frequency (seconds or cron command)
which would also imply that all cron command should be acceptly, like the @daily and @hourly also is accepted as valid commands.

The problem with my cron command is the 0 in front of the 2, i know that "15 2 * * *" would give me a valid result and works, but I would still prefer to have a hour with 0 prefixed allowed too.

Actions

Also available in: Atom PDF