Scheduling Job tasks - Cloud

Talend Cloud Management Console User Guide

Version
Cloud
Language
English (United States)
Product
Talend Cloud
Module
Talend Management Console
Content
Administration and Monitoring > Managing projects
Administration and Monitoring > Managing users
Deployment > Deploying > Executing Pipelines
Deployment > Deploying > Executing Tasks
Deployment > Scheduling > Scheduling Tasks
Define how frequently you want to run your Job task.

Before you begin

  • If parallel execution is not allowed for the task, for an optimized design we recommend to leave at least a one minute margin between the end of the first execution and the beginning of the next.
  • If parallel execution is allowed and you want to disable it: stop the task or wait for the end of the execution. Otherwise, the parallel execution is still allowed.

About this task

You can define multiple time triggers for the same Job task.

You can also schedule the execution of tasks through the public API or a webhook, besides the Talend Cloud Management Console user interface.

You can have a webhook or 15 other triggers including Once, Daily, Weekly, Monthly and Cron types for each task.

You cannot add new triggers if you already had a webhook. You can delete the webhook and add other triggers when editing the task or you can also copy the task if you need both.

Triggers must be separated by at least five minutes.

Note: When you edit the schedule of a single-triggered task in the UI, this task is converted to multi-triggered. Once done, you need to use GET /executables/tasks/{taskId}/schedule endpoint to get task schedule details.

The same task can only be in the execution queue (in Pending or Running status) maximum 50 times in a 60-minute time period. If you have scheduled a task through the public API or a webhook to run more times than that, any new execution that would be added to the queue will fail after the limit is reached.

Procedure

  1. If you are editing your task after it has been created, go to its details page, then click the icon next to Trigger.
  2. In the Schedule step, click the Add trigger icon.
    To start the task manually without a trigger, go to the task details page and click Run now.
  3. Enter the name of the trigger.
    The name must contain only alphanumeric, -, # and _ characters. Spaces and other special characters are not allowed.
  4. Select the trigger type from the Trigger type drop-down list.
  5. In the Location (time zone) field, define the time zone for your executions.
  6. Enter the start date of the run.
  7. Define the frequency of the run in days/weeks/months.
    For example, if you want to run your task every day, enter 1.
  8. To run the task at specific times during the day, select At specific time(s) from the Repeat drop-down list and enter the execution times below.
  9. Enter or select from the drop-down list the first execution time.
    If you want to run the task several times a day, click Add new and enter/select the appropriate time. Repeat this procedure as many times as needed.

    Example

    The task will run at 09:00, 14:00, and 17:00 every day.
  10. To run the task at intervals, select Specific intervals from the Repeat drop-down list.
    1. Set the interval time in minutes in the Repeat every field.
    2. Enter the start time for the execution in the Repeat from field.
    3. Enter the end of executions in the Repeat to field.

    Example

    The execution will happen every 10 minutes every day between 06:00 and 18:00.
  11. Optional: Set the trigger timeout by selecting Same as task, No timeout or Custom.
    By default, the trigger timeout value is the same as the task timeout.
    Trigger timeout overrides task timeout.
  12. Click Save and close.

Results

A confirmation message is displayed at the top of the page. You are redirected to the task details page. The schedule you have defined appears under Trigger > Trigger type

You can also view the schedule in the Tasks tab. Click the Triggers and plans icon.