Scheduling Recurring Jobs

I’m trying to update my collection with a recurring jo, it works manually with a button but not with the recurring jobs.

any idea if I’m missing something.


// The following code is an example of a job. Adapt the code for your specific use case.
{
 "jobs": [{
         // Option 1: Define execution interval using a cron expression
         "functionLocation": "/dataUpdate.jsw", // Relative to Backend folder, started by slash
         "functionName": "dataUpdateFunction",
         "description": "Update data every minute", // Optional
         "executionConfig": {
             "cronExpression": "* * * * *" // Set a recurrence of no less than 1 hour
             // Read about Cron expressions: [https://en.wikipedia.org/wiki/Cron#CRON_expression]
         }
     },
     
 ]
}

Hi Dennis,

This looks mostly correct!

The only issue I see is that your cron expression means “every minute” when intervals for Scheduled Jobs have a minimum requirement of being at least a 1 hour interval.

You can accomplish a scheduled job every start of the hour with the following expression:

"executionConfig": {             
    "cronExpression": "0 * * * *"      
}