Cronjob with collection not working

I wrote a collection update function by adding the code as jsw-File in the Backend. Then I tested the function by calling it in the page onLoad function. Everything worked fine - there were no errors shown in the console. Then I added the function (function defined as export and setting the wixDataOptions to true) to the jobs.config and set only a time for daily processing. But the job is not called - if I test it in the pages onLoad everything works fine.

Any suggestions for this behaviour are highly appreciated!

Have you set the time as UTC time in HH:MM format? Please check it. You can use this tool: https://shoonia.github.io/jobs.config/

Should you need further assistance please share your code.

Hi Sam, thank you very much for your quick reply! The tool is btw very useful. Here´s the code snippets:

job definition:
{
“functionLocation”: “/utils/test.js”,
“functionName”: “_testJob”,
“description”: “! Only for testing !”,
“executionConfig”: {
“time”: “11:05” // daily job!
}
}

job routine:
import wixWindow from ‘wix-window’;
export function _testJob() {
wixWindow(“#text15”).text = ‘Change my text by job!’;
}

and finally the structure:

I think this should be enough to manage a first “Hello World”-cronjob. But unfortunately there is NO reaction at all. The same happened when I tried to manage a collection backend job (with jsw).

Are there any additional requirements for activating cron jobs?