Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
top
top
Some scheduled regularly performed tasks in XperienCentral can be configured to run be executed on a scheduled basis. These configuration settings follow the Almost all of the settings for these tasks can be found in the General tab of the Setup Tool. You configure these scheduled jobs using the supported Unix Cron format.  Two In XperienCentral, two different formats are used; one for the Scheduling Services and one for the Search Engine. Determine which format you need and follow Follow the examples in the appropriate section below to schedule tasks in your deployment. For more information on the Cron format used in XperienCentral, see the Quartz Scheduler documentation. XperienCentral GX Software uses Quartz version 1.8.6, which is a somewhat older version of that software, therefore the Quartz documentation may describe features that are not available in XperienCentral.



Info

See Scheduled Tasks for information on developing plugins that perform tasks on a scheduled basis.

In This Topic

Table of Contents
maxLevel2
minLevel2

...

.------------------- Seconds (0 - 59 [,-*/])
|  .---------------- Minutes (0 - 59 [,-*/])
|  |  .------------- Hours (0 - 23 [,-*/])
|  |  |  .---------- Day of month (1 - 31 [,-*?/LWC])
|  |  |  |  .------- Month (1 - 12 or JAN-DEC [,-*/])
|  |  |  |  |  .---- Day of week (1 - 7 or SUN-SAT [,-*?/LC#])
|  |  |  |  |  |  .- Year (OPTIONAL: empty or 1970-2099 [,-*/])
|  |  |  |  |  |  |
*  *  *  *  *  *  *


Scheduling

...

Services Examples

Below are some examples that demonstrate the use of Cron format used by the Scheduling Services Cron formatin XperienCentral.


FormatDescription
0 3 1,4,19,21 * * *Schedules a service to run every day at 01:03:00, 04:03:00, 19:03:00 and 21:03:00. 
0 */10 * * * *Schedules a service to run every 10 minutes every day.
0 45 9 1,15 * *Schedules a service to execute run on the 1st and 15th of every month at 09:45:00
0 0 2 ? * *Schedules a service to executed at 2 o'clock every day ((taken from the Google sitemap generator schedule)run at 02:00 every day.



...

Search Engine Jobs

The following Cron format is used for the XperienCentral Search Engine. Note that it is not possible to specify seconds or this format omits seconds and the year:


.---------------- Minutes (0 - 59 [,-*/])
|  .------------- Hours (0 - 23 [,-*/])
|  |  .---------- Day of month (1 - 31 [,-*?/LWC])
|  |  |  .------- Month (1 - 12 or JAN-DEC [,-*/])
|  |  |  |  .---- Day of week (1 - 7 or SUN-SAT [,-*?/LC#])
|  |  |  |  |
*  *  *  *  *


Below are some examples that demonstrate the Cron format used by the XperienCentral search engine.


FormatDescription
0 0 * * *Schedules a service to run every day at 00:00. 
30 2 * * *Schedules a service to run at 02:30 every day.
55 * * * *Schedules a service to run at 55 minutes after each hour every day.


See also Search Engine Configuration.


Back to top