Edit on github

#Schedule

The following config will attach a schedule event and causes the function crawl to be called every 2 hours. Auth0 Webtasks only support a single schedule per Function.

You can either use the rate or cron syntax.

functions:
  crawl:
    handler: crawl
    events:
      - schedule: rate(2 hours)

or with default cron syntax

functions:
  crawl:
    handler: crawl
    events:
      - schedule: cron(0 0/2 * * *)

Note: Auth0 Webtasks supports the 5 field crontab format. CronTab.guru is a useful site for calculating cron schedules.

Made with love in San Francisco + Atlanta, Austria, Germany, Pakistan, Poland, Nebraska & Thailand

Serverless, Inc. © 2018

Join our newsletter and get the latest news about Serverless products and happenings. #noSpamWePromise