The documentation on this plugin is lacking, and I was wondering how to utilize it:
Source: https://github.com/EllisLab/Cron/blob/master/cron/pi.cron.php
Devot-ee: http://devot-ee.com/add-ons/expressionengine-cron
My end goal:
- To check against the expiration_date on certain entries and notify that a template is about to expire.
The CRON would ideally run only once per day. I have little idea as to how to make it work, but what I've been trying simply to ensure that it's working is a plugin with a function:
public function check()
{
return 'test';
}
and then call this function in a template by:
{exp:cron minute="*" hour="*" day="*" month="*" plugin="<plugin name>:check"}{/exp:cron}
even something like this:
{exp:cron minute="*" hour="*" day="*" month="*" plugin="<plugin name>:check"}{<plugin name>:check}{/exp:cron}
fails to return the string.