@appsemble/lang-sdk
Version:
Language SDK for Appsemble
20 lines (19 loc) • 650 B
JavaScript
export const CronDefinition = {
type: 'object',
required: ['schedule'],
description: 'A cron definition defines tasks that Appsemble will run periodically for the app.',
additionalProperties: false,
properties: {
schedule: {
description: `A crontab string to define when the action should be run.
See [Crontab guru](https://crontab.guru) for details
`,
type: 'string',
},
action: {
description: 'The action to run when the cronjob is triggered.',
$ref: '#/components/schemas/ActionDefinition',
},
},
};
//# sourceMappingURL=CronDefinition.js.map