Hi! I was wondering if Wix is planning on allowing more than 20 jobs configuration in the near or long future? Thank you! (cc: @dmitry-batkilin )
Hi,
i tried to run job but with no success
i cant see any log on site monitoring event
{
“jobs”: [
{
“functionLocation”: “/utils/databaseJobs.test”, //updateStoreItems
“description”: “update paydb collection”,
“executionConfig”: {
“time”: “17:20”
}
}
]
}
//on databaseJobs.js=>
export function test() {
console.log(“Test Job Started”);
}
You have to create another Job object for now. I think they said above they’re working on adding that as a new feature.
Similary to @naimibaby , I have a Job Scheduler setup, took out all the comments from the config file and haven’t been able to get it to run.
Looking for tips.
jobs.config
{
"jobs": [
{
"functionLocation": "/BodoDomkorApi/request.runJobs",
"description": "Job to update all items in the database with concert bookings from the API at 10pm",
"executionConfig": {
"time": "22:00",
}
},
{
"functionLocation": "/BodoDomkorApi/request.runJobs",
"description": "Job to update all items in the database with concert bookings from the API",
"executionConfig": {
"time": "13:30",
}
},
{
"functionLocation": "/BodoDomkorApi/request.runJobs",
"description": "Job to update all items in the database with concert bookings from the API",
"executionConfig": {
"time": "06:20",
}
},
{
"functionLocation": "/BodoDomkorApi/request.runJobs",
"description": "Job to update all items in the database with concert bookings from the API at 10am",
"executionConfig": {
"time": "10:00"
}
}
]
}
Folder Structure
I created jobs.config builder app: https://shoonia.github.io/jobs.config/ enjoy )))
Dude you are awesome just checked out your vs code extension!!! great work man
@salman-hammed Thanks a lot! I hope it is helpful )
Hey all,
Please note that we’ve updated the syntax for the jobs JSON to split the “functionLocation” into “functionLocation” and “functionName”. See the updated syntax at the beginning of this thread.
Currently, the old configuration will work as well until the end of December, but you are encouraged to update to the new syntax.
