Skip to navigationSkip to main contentSkip to footerScaleway Docs HomepageAsk our AI
Ask our AI

How to manage the scheduling of a Serverless Job using triggers

A trigger allows you to invoke a Serverless Job on a recurring schedule, based on a cron expression, in the * * * * * format, using the desired time zone. You can add multiple triggers on the same Job Definition.

Before you start

To complete the actions presented below, you must have:

How to create a job trigger

  1. Click Jobs in the Serverless section of the side menu. The jobs page displays.

  2. Click the name of the job you want to manage, then click the Triggers tab.

  3. Click + Create trigger. The trigger creation form displays.

    1. Enter a name for the trigger, or use the automatically generated one.

    2. Set a cron schedule in the * * * * * format.

    3. Select the time zone.

    4. Optionally, enter a startup command and arguments specifically for this trigger to override the default command and arguments of your job at runtime.

  4. Click Create trigger to save your trigger.

How to edit a job trigger

  1. Click Jobs in the Serverless section of the side menu. The jobs page displays.

  2. Click the name of the job you want to manage, then click the Triggers tab.

  3. Click more icon next to the trigger to edit, and select Edit in the menu that displays.

  4. Edit the job trigger.

  5. Click Apply changes to confirm.

How to delete a job trigger

  1. Click Jobs in the Serverless section of the side menu. The jobs page displays.

  2. Click the name of the job you want to manage, then click the Triggers tab.

  3. Click more icon next to the trigger to delete, and select Delete in the menu that displays.

  4. Click Delete trigger to confirm the deletion.

No Results