Im using the cronapi coming with Elysia cron module and here is my code :
function MYMODULE_cronapi($op, $job = NULL) {
$items['example_news_cron'] = array(
'description' => 'Send mail with news',
'rule' => '*/5 * * * *', // Every 5 minutes
'callback' => 'example_news_fetch'
);
return $items;
}
function example_news_fetch() {
// Do something here
}
the cron works only when I run it manually in the admin section(Elysia cron configuration), but I need it to be runing every some specific periode !
Is there some configuration missing, or system requirements