How to add cron in custom package

I wan to create a cron job in my custom package where I will fetch products from other site and this process will execute after every hour.
I am adding this code to my velo custom package
{
“jobs”: [
{
“functionLocation”: “/apis.js”,
“functionName”: “simpleTest”,
“description”: “”,
“executionConfig”: {
“cronExpression”: “0 * * * *”
}
}
]
}
Unfortunately, it’s not working. Is it possible to run my cron in custom package ? or any Solution ?
Thanks,

You need to define this in jobs.config, not in code.

I have defined it https://blocks.wix.com/
backend/jobs.config.
Is it right place ?