Also changed the scheduled task to run every hour.
/**
* Simple task to run sync enrolments.
+ *
+ * @copyright 2014 Troy Williams
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class flatfile_sync_task extends \core\task\scheduled_task {
array(
'classname' => '\enrol_flatfile\task\flatfile_sync_task',
'blocking' => 0,
- 'minute' => '*',
+ 'minute' => '15',
'hour' => '*',
'day' => '*',
'dayofweek' => '*',
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2015051101; // The current plugin version (Date: YYYYMMDDXX)
+$plugin->version = 2015090700; // The current plugin version (Date: YYYYMMDDRR)
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->component = 'enrol_flatfile'; // Full name of the plugin (used for diagnostics)