1

Trigger Requests Via Cron Schedule

Kevin Wilde

Last Update 9 days ago

You can execute your API or Shopify Flow requests based on a cron schedule. Cron Helper is a good resource for understanding how to configure your cron schedule. We are using the Cron for Node.js library if you want additional details of how to customize your cron schedule.


In order to call your request based on a cron schedule add a Cron trigger to your request in APIEase with a schedule according to your needs.


How To Add a Cron Trigger

  1. Add a new request or edit an existing one.
  2. In the trigger field select the Cron radio button.
  3. Add a cron schedule like 1 1 * * * to the Cron Value field.
  4. Click the save button at the top of the admin page.

The Cron Value for the above example is 1 14 * * *. This means the address provided, in this case https://api.thecatapi.com/v1/images/search will execute at 2:01 PM, every day.

A cron trigger in APIEase may be useful for polling an API or updating data on a third party system via API based on a schedule.

Was this article helpful?

0 out of 0 liked this article