register all cron jobs in entrypoint (#12791)
closes https://github.com/twentyhq/core-team-issues/issues/1113 Three things I am not sure about - - Should we have a variable just like DISABLE_DB_MIGRATIONS to control cron job registration behavior, i.e., DISABLE_CRON_JOBS_REGISTRATION? - The location of the command ie, folder placement - https://github.com/twentyhq/twenty/pull/12791/files#r2161734131
This commit is contained in:
@ -19,6 +19,6 @@ import { DatabaseEventTriggerListener } from 'src/modules/workflow/workflow-trig
|
||||
CronTriggerCronJob,
|
||||
CronTriggerCronCommand,
|
||||
],
|
||||
exports: [AutomatedTriggerWorkspaceService],
|
||||
exports: [AutomatedTriggerWorkspaceService, CronTriggerCronCommand],
|
||||
})
|
||||
export class AutomatedTriggerModule {}
|
||||
|
||||
Reference in New Issue
Block a user