XTM Connect – Episerver enables you to use XTM Scheduled jobs. They are available by default, when the connector is installed. In the Episerver CMS, an XTM scheduled job is used to regularly check the status of ongoing translation projects. Then, when a project is finished in XTM Cloud, its status will automatically be updated in XTM Connect – Episerver, and the translation project content will be automatically imported into the CMS.
To manage them, select Admin → Scheduled Jobs.
An XTM scheduled job can be configured to perform automatic imports or can be triggered manually.
How does it work?
Once you click on an XTM Scheduled job, there are three sections:
The Details section displays basic information about the job such as its Name, Description, when it will be run next [Next Run (UTC)], and Status, which can be either MANUAL or AUTOMATIC.
The History section displays a list of instances of this job that were run in the past. As you can see, the information shown includes the as date and time [Started (UTC)], Result, additional message (if applicable), and Duration.
In the Settings section, you can specify if an XTM Scheduled job is to be MANUAL or AUTOMATIC.
In the Start Date (UTC) selector fields, choose the date and time at which your job is to start.
In the dropdown below, set the frequency at which this job will run. If you select the Do not repeat option, this job will be MANUAL. If any other option is selected, the job will be treated as AUTOMATIC.
Once you configure the job according to your needs, do not forget to click on Save Scheduled Job, to save your settings.
If XTM Scheduled Jobs are configured, it is not possible to use callbacks to control the reimport of existing translation jobs (click here for more information about callbacks).
Running a XTM Scheduled job manually
You can run an XTM Scheduled job manually at any time, with immediate effect, by selecting the Start button in the XTM Scheduled Jobs list.