Support for multiple time rules per cron job.

Created on 14 November 2014, over 10 years ago
Updated 27 June 2024, 10 months ago

Currently each cron job declaration only supports one time rule. This means that in a case of needing a specific job to run after 6:00AM and after 5:00PM you have to create duplicate jobs with a single timing for each one.

It would be significantly more powerful if instead of single string of timing pattern it supported an array of timings.

Currently supported:
$_time_pattern = ''every 2 weeks'';

Additional support requested

$_time_pattern = array(
  'every 2 weeks',
  'on the 1st of every 1 month'
);

OR

$_time_pattern = array(
  'every monday',
  ' every wednesday',
   'every friday',
);
✨ Feature request
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024