function brilliant_gallery_cronapi in Brilliant Gallery 7.2
File
- ./
brilliant_gallery_cron.inc, line 6
Code
function brilliant_gallery_cronapi($op, $job = NULL) {
$items['brilliant_gallery_getbgfiles'] = array(
'description' => 'Recursively read all images under the Brilliant Gallery root folder and update database table brilliant_gallery_sources',
'rule' => '0 0 * * *',
);
//$items['example_news_cron'] = array(
//'description' => 'Send mail with news',
//'rule' => '*/5 * * * *', // Every 5 minutes
// i must call: example_news_fetch('all')
//'callback' => 'example_news_fetch',
//'arguments' => array('all'),
//);
return $items;
}