Fix cron jobs by removing the extra unusable argument
This commit is contained in:
parent
5f6ee45f44
commit
ba96829d13
6 changed files with 7 additions and 7 deletions
|
@ -86,7 +86,7 @@ class ScheduleCreationService
|
|||
*/
|
||||
private function getCronTimestamp(array $data)
|
||||
{
|
||||
$formattedCron = sprintf('%s %s %s * %s *',
|
||||
$formattedCron = sprintf('%s %s %s * %s',
|
||||
array_get($data, 'cron_minute', '*'),
|
||||
array_get($data, 'cron_hour', '*'),
|
||||
array_get($data, 'cron_day_of_month', '*'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue