Create a Scheduled Job

   Journey Manager (JM) Previously known as Transact Manager (TM).  |    System Manager / DevOps  |  v5.1 & Higher This feature is related to v5.1 and higher.

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
  2. Click New Scheduled Service Job to create a new scheduled job.
  3. Enter the unique name of the scheduled job into the Name field.
  4. Provide a description of the new scheduled job.
  5. 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.
  6. Specify the Start Date and End Date.
  7. Select a trigger type from the Trigger Type dropdown list, which can be Simple or Cron.
  8. Select the repetition period from the Repeat dropdown list and repeat interval from the Repeat Interval for the simple trigger type.
  9. 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.
  10. 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.

To configure a scheduled job:

  1. Select System > Scheduled Jobs
  2. Locate a scheduled job and click Edit.
  3. Update the Start Date or End Date.
  4. Change a trigger type from the Trigger Type dropdown list, which can be Simple or Cron.
  5. Select the repetition period from the Repeat dropdown list and repeat interval from the Repeat Interval for the simple trigger type.
  6. Update a cron job regular expression in the Cron Expression field.
  7. Click Save to update the changes..

Next, learn how to view scheduled job history.