Run jobs on a schedule

Scheduler calls any web endpoint on a schedule, like a cron job that you never have to host. Let us ping our shop every minute.

Video, 0:54. Serverless.

Steps

  1. Overview (0:00)
  2. Every minute, Indian time (0:11)
  3. Call our service (0:27)
  4. Enabled (0:34)
  5. It ran (0:38)
  6. Called every minute (0:42)
  7. Try it yourself (0:49)

Transcript

Scheduler calls any web endpoint on a schedule, like a cron job that you never have to host. Let us ping our shop every minute.

Under Integration, open Scheduler and create a job. Name it ping-shop. The schedule uses standard cron syntax: five stars means every minute. We set the time zone to India.

The target is our shop-web service, called with a GET request. Create the job.

The job is enabled, and shows when it will run next.

A minute later, it has run.

And in the service's own logs, you can see the scheduler's calls arrive on the minute, every minute.