Create Scheduled Apex Job
sf_create_scheduled_jobSchedule an Apex class that implements Schedulable to run on a cron expression. Use for batch processing, nightly cleanup, report generation, or periodic automation.
Instructions
Schedules an Apex class that implements the Schedulable interface to run on a cron schedule. Use for batch processing, nightly data cleanup, report generation, or any periodic automation. The Apex class must already exist in the org. Example cron: '0 0 2 * * ?' = daily at 2 AM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobName | Yes | Name for the scheduled job | |
| className | Yes | Apex class that implements Schedulable interface | |
| cronExpression | Yes | Cron expression, e.g. '0 0 2 * * ?' for daily at 2 AM |