Scheduling CRM.server Jobs
CRM.server jobs are scheduled via the server.settings.xml file
using the crontab
syntax.
For further details, see http://www.adminschoice.com/tag/crontab-syntax.
Example:
<Job schedule="*/3 * * * * "
type="update.Crm.Server.Jobs.MonitorTodosJob,update.Crm.Server" />
In this case the MonitorTodosJob
is started every three minutes.
Jobs with the
schedule
attribute undefined are started every
minute.Note: If you suffer lag in processing background jobs, set the pooling interval
to 1 minute in the configuration file as mentioned
below.
<Job schedule="1 * * * * " type="update.Crm.Server.Jobs.MonitorTodosJob,update.Crm.Server" />