- Code: Select all
// schedule daily update at 12:20am with no expiry
plugins.scheduler.addCronJob('12:20am','0 20 0 ? * ?',globals.dailyUpdate());
Can't find method
com.servoy.r2.plugins.scheduler.SchedulerProvider.js_addCronJob(string,string,undefinded)
The globals method "dailyUpdate()" is clearly present and I'm able to manually trigger it.
If I remove the "addCronJob" instruction from the startup script, close the solution, then re-open it, the error doesn't trigger.
Puzzled.