Modal Cron and Scheduled Functions

Run functions on a recurring schedule using modal.Period or modal.Cron passed to @app.function(schedule=...). Schedules are declared in code and managed through deployment; there is no REST scheduling API.

API entry from apis.yml

apis.yml Raw ↑
aid: modal-labs:modal-labs-scheduled-api
name: Modal Cron and Scheduled Functions
tags:
- Cron
- Scheduling
- Jobs
- SDK
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
humanURL: https://modal.com/docs/guide/cron
properties:
- url: https://modal.com/docs/guide/cron
  type: Documentation
- url: https://modal.com/docs/reference/modal.Cron
  type: APIReference
description: Run functions on a recurring schedule using modal.Period or modal.Cron passed to @app.function(schedule=...).
  Schedules are declared in code and managed through deployment; there is no REST scheduling API.