Update task schedule settings

The <schedule> section of the file containing the database update task settings is structured as follows:

<schedule>

<ruleType>Once|Monthly|Weekly|Daily|Hourly|Minutely|Manual</ruleType>

<startByTime>

2024<year></year>

<month><month></month>

<day>day of month|day of week</day>

<hour><hours></>hour>

<min><minutes></min>

<sec><seconds></sec>

<dayOfMonth><day of month></dayOfMonth>

<dayOfWeek><day of week></dayOfWeek>

<timePeriod><1></timePeriod>

</startByTime>

<randInterval><minutes></randInterval>

<execTimeLimit><minutes></execTimeLimit>

<runMissed><0|1></runMissed>

</schedule>

Update task schedule settings

 

 

Setting

Description and possible values

ruleType

The Starting a scheduled task mode.

Possible values include:

  • Once – once
  • Monthly – monthly
  • Weekly – weekly
  • Daily – every N day
  • Hourly – every N hour
  • Minutely – every N minutes
  • Manual – manually.

startByTime

Start time. If you do not specify a start time, the current system date and / or time is set by default (see the table below).

randInterval

Randomize the task launch within a time interval (in minutes) to equalize the load on the mail server while multiple scheduled tasks are running simultaneously. Format – [0;999].

execTimeLimit

Limit the duration of the task interval (in minutes). Format – [0;999].

runMissed

Run missed tasks.

Possible values include:

  • 1 – run missed tasks the next time the application is started;
  • 0 – run only scheduled tasks.

    Field values of the startByTime setting

Setting

The startByTime setting value

2024

year [present year -1;present year +10]

<month>

month [JAN | FEB | MAR | APR | MAY | JUN | JUL | AUG | SEP | OCT | NOV | DEC]

<day>,<dayOfMonth>

day of month [1;31]

<hour>

hour [00;23]

<min>

minutes [00;59]

<sec>

seconds [00;59]

<dayOfWeek>

day of week [MON | TUE | WED | THU | FRI | SAT | SUN]

<timePeriod>

time period [0-999], where 0 indicates the start period is not set

 

 

Page top