Create a Scheduled Job

   Journey Manager (JM) The transaction engine for the platform.  |    System Manager / DevOps  |  All versions This feature is related to all versions.

Manager comes with several default scheduled job types , but you can also create a new scheduled job to suit your needs.

Each scheduled job requires a service that will be executed to perform a job, therefore you may need to create a scheduled service first if it doesn't exist.

To create a new scheduled service:

  1. Select Services > All Services. and click New.
  2. Select Scheduled Service from the Service Type dropdown list.
  3. Select a service template from the Service Template dropdown list, which can be:
  4. Update the service name in the New Name field.
  5. Update the service version in the Version Number field.
  6. Select an optional organization from the Organization dropdown list.
  7. Note

    If organization is blank, the service will be global, otherwise it will be available to the selected organization only.

  8. Click Save to update the changes.

To create a new scheduled job:

  1. Select System > Scheduled Jobs and Click New Scheduled Service Job.
    Manager create a scheduled job
  2. Enter the unique name of the scheduled job into the Name field.
  3. Provide a description of the new scheduled job.
  4. Select a service from the Service Definition dropdown list, which must be of the Scheduled Service type. If this service doesn't exist, create a new service.
  5. Specify the Start Date and End Date.
  6. Select a trigger type from the Trigger Type dropdown list, which can be Simple or Cron.
  7. Select the repetition period from the Repeat dropdown list and repeat interval from the Repeat Interval for the simple trigger type.
  8. Provide a cron job regular expression in the Cron Expression field, which the scheduler will use to know when and how often to invoke this job. For example, 0 0 1 * * ? will cause the job to run every day at 1 am. However, much more sophisticated schedules are possible.
  9. Click Save to update the changes.

After scheduled jobs are created, there are only a few configuration changes you can do to maintain them. Most frequently, you will need to update the repeat interval or cron expression of a scheduled job.

Next, learn how to configure a scheduled job.