Cron for server modules
Using the configuration parameter sets Cron from and Cron to makes
it possible for a module to run only for certain periods of time.
The way in which it is configured is similar to the syntax of
cron.
Just as they appear in the Pandora console, each one of the parameters
has three options.
Cron from: any
The module will not have restrictions in that parameter. Whatever the value is
will be executed, and it is equivalent to the asterisk (*) in the cron nomenclature. In this
case Cron to is ignored.
Cron from: different from any. Cron to: any
The module will run only during the time in which the date matches that
parameter. It is equivalent to writingjust one number in cron nomenclature.
Cron from: different from any. Cron to: different from any
The module will run only during the time specified between Cron from and Cron to.
It is equivalent to writing number dash number (n-n) in cron nomenclature.
Agent interval
As long as cron conditions are met, the agent will run following
its execution interval.
Examples
- * * * * *: No cron configured.
- 15 20 * * *: It will run every day at 20:15.
- * 20 * * *: It will run every day during the hour 20, that is, from 20:00 to 20:59.
- * 8-19 * * *: It will run everyday from 8:00 to 19:59.
- 15-45 * 1-16 * *: It will run every first 16 days of the month every hour, from quarter past to quarter to.
- * * * 5 *: It will run only in May.