Example #1
0
function ical_cron()
{
    /// Function to be run periodically according to the moodle cron
    /// This function searches for things that need to be done, such
    /// as sending out mail, toggling flags etc ...
    global $CFG;
    ical_parse();
    return true;
}
<?php

/*
 * Created on 30-jun-2005
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
require_once 'lib.php';
ical_parse();