Addons are custom features that you can add to your Vanilla forum. Addons are created by our community of developers and people like you!
These addons are for people who downloaded and set up their own Vanilla forum. Compare your downloaded version with the version requirements on the right.
If your Vanilla forum is hosted at VanillaForums.com, this addon may already be installed there.
We review addons to make sure they are safe and don't cause bugs. An addon is considered to be "Vanilla Approved" once our review process is complete.
| Version | Released |
|---|---|
| 13.04.02 | April 11 |
| 13.02.24 | February 26 |
| 13.01.07 | January 7 |
| 12.11.22 | November 2012 |
| 12.11.09 | November 2012 |
/plugins folder to install it.public function Cron(). No parameters will passed to this method, yet. We'll calls this class CronTaskClass.CronTaskClass->Cron(), implement any action that has to be executed when Cron will run. For example, it could be the cleanup of some historical data.CronJobRegister handler, declared as public function CronJobsPlugin_CronJobRegister_Handler($Sender){. In it, create an instance of CronTaskClass and register it with the command $Sender->RegisterCronJob($CronTaskClassInstance);./cron URL in your Vanilla installation.0 * * * * wget -O - -q -t 1 http://www.myvanilla.com/cron
Cron will execute all registered tasks every time it runs. It's up to the 3rd party plugins to determine if it's time to do something or not. For example, Cron may scheduled to run every hour, but a plugin may want to perform its task once a day. It's up to the plugin to handle this condition accordingly.
It's possible to register each CronTaskClass instance only once. If a Plugin needs to register more than one Cron action, it will have to implement separate classes and call RegisterCronJob() multiple times.