Modulify

List scheduled jobs

list_site_crons

Lists the scheduled jobs configured on a site, with their schedules, their state and how their last scheduled run went.

These are the site's own scheduled jobs, the ones configured in the editor, not anything internal to Modulify. Each comes with its schedule, whether it is enabled, when it last ran on its schedule and how that went, when it runs next, how many times in a row it has failed, and the reason it was switched off automatically, such as reaching 20 failures in a row. A run started by hand does not move those last-run fields.

A site holds at most 10 jobs, so one call always returns all of them. Request headers on each step come back masked, because a header value can itself be a credential. A deploy hook token inside a URL comes back as mdh_<redacted>, because that URL can publish the site, and reading it needs get_deploy_hook_url. See Scheduled jobs.

Inputs

Input Type Required Description
projectId string Yes The site id.