Scheduler
This documentation describes Scheduler.
Overview
Scheduler is a service for scheduling the execution of Diego tasks (jobs), such as database migrations, emails, or batch jobs, and the execution of outbound HTTP requests (calls).
Scheduler enables developers to:
- Create, run, and schedule jobs and view job history.
- Create, run, and schedule calls and view call history.
You can interact with the service by using the Cloud Foundry Command Line Interface (cf CLI), Apps Manager, and the Scheduler HTTP API.
Product Snapshot
The following table provides version and version-support information about Scheduler.
Element | Details |
---|---|
Version | v1.6.3 |
Release date | November 7, 2022 |
Compatible Ops Manager versions | v2.7 or later |
Compatible Application Service versions | v2.7 or later |
IaaS support | AWS, Azure, GCP, OpenStack, and vSphere |
Requirements
Scheduler requires a MySQL database.
You can use either of the following:
- VMware Tanzu SQL with MySQL for VMs v2.7 or later. See VMware Tanzu SQL with MySQL for VMs
- An external MySQL database
Limitations
If your app uses a buildpack that does not generate a
web
process type, such as Ruby or Python, you should do the following:- Create a Procfile in the root directory of the app before pushing it.
- Declare a
web
process type in the file.
If you do not declare this process type, your app is not accessible when using the cf CLI after you create Scheduler jobs for it.
The maximum number of tasks that you can schedule is determined by the memory and disk quotas in the Scheduler org and space. For more information, see Running Tasks.