Adam Posted June 26, 2017 Report Posted June 26, 2017 Hello, I was following the documentation on how to create a custom cron job for a plugin: https://docs.blesta.com/x/PQEh and I noticed that after I called CronTasks::add() the cron job was not being called by cron or showing up under Company > Automation settings. I had to look at the source docs and figure out that in addition to calling CronTasks::add() I need to run CronTasks::addTaskRun(). May you please update the confluence document to reminder developers to call CronTasks::addTaskRun() after CronTasks:add() during installs? Thanks, -Adam Blesta Addons and activa 2 Quote
Paul Posted July 6, 2017 Report Posted July 6, 2017 I've alerted @Jono about this, hopefully he can make the change to the documentation. Michael 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.