I’m struggling to debug the running of a scheduled job. The wix documentation at https://support.wix.com/en/article/corvid-scheduling-recurring-jobs shows the job scheduling config as :
{
// Option 2 - setting time, day of week and day of month
" functionLocation": “/module/filename.js(w)”,
“functionName”: “funcName”,
“description”: “describe your job”,
“executionConfig”: { “time”: “08:00”, // Optional - for more complex intervals,// uncomment one of the below lines.//
“dayOfWeek”: “Monday”, // Day of week //
“dateInMonth”: 1 // Number between 1-31
}
}
but the recommended youtube explanation at https://www.youtube.com/watch?v=l9r2SIvKnBM looks very different…
// /backend/jobs.config
{
jobs: [
{
“functionLocation” : “/servicemodule.callthefunction” ,
“description” : “describe your job” ,
“executionConfig” : {
“time” : “18:25”
}
}
]
}
If you skip video to 2:50 you’ll see The “functionName” param from the top example has not been provided and instead has been appended to location.
My job config below is not running…
// /backend/jobs.config
{
jobs: [
{
“functionLocation” : “/servicemodule.callthefunction” ,
“description” : “describe your job” ,
“executionConfig” : {
“time” : “18:25”
}
}
]
}