mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
feat(core): Increase Cron observability (#17626)
This commit is contained in:
@@ -451,7 +451,8 @@ export class ScheduleTrigger implements INodeType {
|
||||
if (this.getMode() !== 'manual') {
|
||||
for (const { interval, cronExpression, recurrence } of rules) {
|
||||
try {
|
||||
this.helpers.registerCron(cronExpression, () => executeTrigger(recurrence));
|
||||
const cron = { expression: cronExpression, recurrence };
|
||||
this.helpers.registerCron(cron, () => executeTrigger(recurrence));
|
||||
} catch (error) {
|
||||
if (interval.field === 'cronExpression') {
|
||||
throw new NodeOperationError(this.getNode(), 'Invalid cron expression', {
|
||||
|
||||
Reference in New Issue
Block a user