Export Scheduled Jobs

   Journey Manager (JM) The transaction engine for the platform.  |    System Manager / DevOps  |  24.04This feature was updated in 24.04

Manager allows you to export scheduled jobs, so you can then import them.

Note

You can only export scheduled jobs, which execute services of the Scheduled Service Job type. You can't export scheduled jobs, which execute Core Services.

Use this functionality to:

  • Roll back one or scheduled jobs.
  • Re-create one or scheduled jobs in another Manager.
  • Promote scheduled jobs to another environment.

To export a scheduled job:

  1. Select System > Scheduled Jobs.
  2. Click Export Archive to export a selected scheduled job as an archive ZIP file on your local PC. The ZIP file contains a scheduled-job-config.xml file with a scheduled job’s definition. The example is shown below:
    <?xml version="1.0" encoding="UTF-8"?><ScheduledServiceJobs databaseVersion="2085" environmentName="my env" exportDate="2024-04-03" revisionNumber="00d9231" sfmVersion="24.4.0-SNAPSHOT">
      <ScheduledServiceJob>
        <scheduledServiceJobName>Example Fluent</scheduledServiceJobName>
        <description>Executes the named Scheduled Service.</description>
        <startDate>1560732700000</startDate>
        <endDate/>
        <triggerType>Cron</triggerType>
        <cronExpression>0 0 3 * * ?</cronExpression>
        <serviceDefinition>
          <serviceName>Fluent Scheduled Service</serviceName>
          <serviceClientCode>maguire</serviceClientCode>
          <serviceVersion>0.1.0</serviceVersion>
        </serviceDefinition>
      </ScheduledServiceJob>
    </ScheduledServiceJobs>
  3. Click Export Data to export the displayed data as a Microsoft Excel (XLS) file. The XLS file has the same column names and described in view scheduled jobs.

Next, learn how to import scheduled jobs.