There’s something ‘funky’ going on with the params from a Job Schedule.
They seem to come up empty/undefined, when the Job is triggered by a schedule. When I run manually from All Jobs, also empty, but when I run manually from Scheduled Jobs they work fine.
Moralis.Cloud.job('someJob', async (request) => {
logger.info('Running checkMarketItems job!')
logger.info(JSON.stringify(request.params.input))
})
There they are undefined
when triggered by a schedule, an empty array from All Jobs
Run Now and only work using Scheduled Jobs Run Now: