Crontab extension for advanced scheduling of job

Development Status
Stable
Active Installs
Maintainers
Scarica

Last updated: 2024-09-04

Works with CiviCRM 5.63 or higher.

This extension provides advanced job scheduling functionality.

Admins can set Linux CRONTAB-like expressions for each scheduled job.

  • Go to Scheduled Job Listing -> Edit any job -> select checkbox Advanced Job Scheduling, then additional details get displayed.
  • Set your job frequency either using the basic setting or the advanced setting.
  • Set Run Frequency Time Margin for at least 5 minutes (the default value is 5).

    * We are using a Linux Cron tab-like format to run the cron job on specific time, but this is not an actual crontab; we are totally relying on the CiviCRM Job. The CiviCRM Job may be executed by a crontab-like feature.

    • We may run a CiviCRM job every 5 or 10 minutes. But this will not be executed on the scheduled time. So we have to give some relaxation using this margin setting.
    • Provide a margin in the number of minutes based on the crontab frequency of the main civicrm job. If empty, we will use 5 minutes as the default margin.
  • Set a scheduled start and end date.

    * The scheduled job only gets executed on the specified date.

  • Set the active time of each scheduled job.

    * We can run scheduled jobs every 30 minutes but only execute them in business hours from 9 a.m. to 5 p.m., or run them after business hours from 8 p.m. to the next morning at 7 a.m.

Supporting organizations

Skvare

Screenshot (click to enlarge)