This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/application/Espo/Resources/metadata/entityDefs/ScheduledJob.json
T
2018-10-22 15:11:06 +03:00

95 lines
2.3 KiB
JSON

{
"fields": {
"name": {
"type": "varchar",
"required": true,
"trim": true
},
"job": {
"type": "varchar",
"required": true,
"view": "views/scheduled-job/fields/job"
},
"status": {
"type": "enum",
"options": ["Active", "Inactive"]
},
"scheduling": {
"type": "varchar",
"required": true,
"view": "views/scheduled-job/fields/scheduling",
"tooltip": true,
"trim": true
},
"lastRun": {
"type": "datetime",
"readOnly": true
},
"createdAt": {
"type": "datetime",
"readOnly": true
},
"modifiedAt": {
"type": "datetime",
"readOnly": true
},
"createdBy": {
"type": "link",
"readOnly": true
},
"modifiedBy": {
"type": "link",
"readOnly": true
},
"isInternal": {
"type": "bool",
"readOnly": true,
"disabled": true,
"default": false
}
},
"links": {
"createdBy": {
"type": "belongsTo",
"entity": "User"
},
"modifiedBy": {
"type": "belongsTo",
"entity": "User"
},
"log": {
"type": "hasMany",
"entity": "ScheduledJobLogRecord",
"foreign": "scheduledJob"
}
},
"collection": {
"orderBy": "name",
"order": "asc"
},
"jobSchedulingMap": {
"CheckInboundEmails": "*/2 * * * *",
"CheckEmailAccounts": "*/1 * * * *",
"SendEmailReminders": "*/2 * * * *",
"Cleanup": "1 1 * * 0",
"AuthTokenControl": "*/6 * * * *",
"SendEmailNotifications": "*/2 * * * *"
},
"jobs": {
"Dummy": {
"isSystem": true,
"scheduling": "1 */12 * * *"
},
"CheckNewVersion": {
"name": "Check for New Version",
"isSystem": true,
"scheduling": "15 5 * * *"
},
"CheckNewExtensionVersion": {
"name": "Check for New Versions of Installed Extensions",
"isSystem": true,
"scheduling": "25 5 * * *"
}
}
}