Skip to main content

Scheduler Model

Overview

Handles scheduling of automated jobs.

Fields

FieldTypeDescriptionRequired
idstringA unique identifier for the scheduler task
application_idstringThe ID of the application where this task is being used or scheduled.
cronIdstringA unique identifier for the cron job. Could be used by a third-party system or internal scheduler engine.
cronNamestringA descriptive name for the cron job.Useful for UI or logs.
timeExpressionstringThe actual cron expression defining when the job runs.
expressionNamestringA readable name for the cron expression
taskFunctionDataobjectSerialized or JSON data containing the parameters or payload for the function/task.
taskFunctionstringName or path of the function to be executed by the scheduler.
typestringDefines the type of scheduler task.Can help filter or group tasks.
statusstringThe current status of the scheduler
timeZonestringSpecifies the time zone for the cron job execution. Ensures correct time-based execution globally.
objectNamestringName of the target object this task is associated with.
objectIdstringID of the target object the task is related to.
userIdstringThe user who created or owns the scheduler task. May be used for access control or history tracking.
org_idstringLinks the scheduler task to a specific organization.
sites_idstringLinks the scheduler to a specific site.
userDataobjectStores user-related data
jobsanyStores details about scheduled jobs
created_atdateTimestamp when the scheduler task was created
modified_atdateThe timestamp when the scheduler task was last updated. Useful for tracking changes to job configs.
dotNetServerEndpointUrlstringThe API endpoint for executing the scheduled task.
statusURLstringA URL to check the execution status of the scheduled job.
cronTypestringType of cron used (e.g., standard, quartz, custom). Useful if different parsers/schedulers are supported.
optionsanyAdditional config or flags (as JSON or key-value pairs) used to customize execution.
dataPackIdstringLinks this task to a particular dataset or package of information, possibly used in exports/imports.

Sample JSON

{
"id": "example_value",
"application_id": "example_value",
"cronId": "example_value",
"cronName": "example_value",
"timeExpression": "example_value",
"expressionName": "example_value",
"taskFunctionData": "example_value",
"taskFunction": "example_value",
"type": "example_value",
"status": "example_value",
"timeZone": "example_value",
"objectName": "example_value",
"objectId": "example_value",
"userId": "example_value",
"org_id": "example_value",
"sites_id": "example_value",
"userData": "example_value",
"jobs": "example_value",
"created_at": "example_value",
"modified_at": "example_value",
"dotNetServerEndpointUrl": "example_value",
"statusURL": "example_value",
"cronType": "example_value",
"options": "example_value",
"dataPackId": "example_value"
}