Cron type trigger
    • PDF

    Cron type trigger

    • PDF

    Article Summary

    Available in Classic

    You can create Cron-type triggers in Cloud Functions> Trigger from the NAVER Cloud Platform console. Cron-type triggers provide the feature to execute a specific action at regular intervals. With this feature, Cron-type triggers are useful to run scheduled tasks such as monitoring tasks and can replace simple batch jobs for a CI tool such as Jenkins.

    For information how to run and monitor a trigger, see Running action or trigger and Trigger.

    Create triggers

    A Cron-type trigger is a type of feed that guarantees regular execution at certain intervals based on the user's request.

    Set execution options

    You can configure execution options for Cron-type triggers under Cron Settings in the console.

    compute-15-3-101.png

    Cron Settings allows you to set up and schedule regular executions. Once registered, the trigger will be run until the execution options are modified or deleted. You can set the interval using the selection box at the right or enter it directly.

    Execution option details

    Execution options follow UNIX crontab syntax by default, and 5 fields are separated by a space. The descriptions of each option are as follows:

    ItemsDescription
    Minute0-59
    Hour0-23
    Day1-31
    Month1-12(1:jan - 12:dec)
    Day of the week0-7(0,7:sun, 1:mon...)
    Note

    Execution option examples

    The following is the basic example of the execution options.

    */5 * * * *: Run every 5 minutes.
    0 10 * * *: Run every day at 10:00 AM.
    0 10 5 * *: Run on the 5th of every month at 10:00 AM.
    0 10 5 9 *: Run on September 5 every year at 10:00 AM.
    0 10 * * 1: Run on every Monday at 10:00 AM.
    

    Restrictions

    The restrictions for Cron-type triggers are as follows:

    • The restrictions for basic actions also apply to the actions connected to Cron-type triggers. Accordingly, an action's maximum execution time is limited to 5 minutes (300 seconds). Jobs that exceed 5 minutes are not supported by the current version.
    • The action execution count is also restricted by the contract. If the count exceeds the limit, regular executions may not be guaranteed.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.