Skip to main content Skip to complementary content

Scheduling Job tasks

Define how frequently you want to run your Job task.

Schedule updates made within a three-minute window around the scheduled execution time can lead to immediately triggered duplicate executions. For this reason, avoid making schedule changes when an execution is about to be triggered or has just been terminated.

Before you begin

  • You must have the Execute permission on the workspace where the task is located to configure the Schedule steps when creating or editing a task.
  • If parallel run is not allowed for the task, for an optimized design you should leave at least a one minute margin between the end of the first run and the beginning of the next one.
  • If parallel run is allowed and you want to disable it, stop the task or wait for the end of the run. Otherwise, the parallel run 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 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.

Information noteNote: 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 Edit trigger 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

    Page to define execution time.
    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

    Page to set up task execution intervals.
    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.
Information noteTip: When a scheduled task is ready to be deployed for execution but no engine is available, it is queued simply in chronological order after its preceding tasks. Talend Remote Engine sends a heartbeat message every 60 seconds to Talend cloud infrastructure to signal its availability. Once available, it immediately processes the queued tasks.

For further information about engine heartbeats, see Monitoring engine health.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!