Talk:version.php: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Anthony, I reverted your changes. They contradict [[Coding_style#Files]].--[[User:Tim Hunt|Tim Hunt]] 16:15, 29 March 2013 (WST) | Anthony, I reverted your changes. They contradict [[Coding_style#Files]].--[[User:Tim Hunt|Tim Hunt]] 16:15, 29 March 2013 (WST) | ||
== Cron == | == Cron == | ||
Line 10: | Line 9: | ||
I've just noticed a plugin with cron = 0 running after I added a lib.php cron function there - the idea was to develop first then enable the cron, but logs show it runs every time system cron runs. Moodle 2.3.8 but I cannot find if this is a bug or just wrong documentation. | I've just noticed a plugin with cron = 0 running after I added a lib.php cron function there - the idea was to develop first then enable the cron, but logs show it runs every time system cron runs. Moodle 2.3.8 but I cannot find if this is a bug or just wrong documentation. | ||
Anyone know which it should be? | Anyone know which it should be? --[[User:Jason Robinson|Jason Robinson]] ([[User talk:Jason Robinson|talk]]) 17:09, 21 November 2013 (WST) |
Revision as of 09:09, 21 November 2013
Anthony, I reverted your changes. They contradict Coding_style#Files.--Tim Hunt 16:15, 29 March 2013 (WST)
Cron
To me this seems wrong:
> $plugin->cron = 0; > Optional - time interval (in seconds) between calls to the plugin's 'cron' function; set to 0 to disable the cron function calls.
I've just noticed a plugin with cron = 0 running after I added a lib.php cron function there - the idea was to develop first then enable the cron, but logs show it runs every time system cron runs. Moodle 2.3.8 but I cannot find if this is a bug or just wrong documentation. Anyone know which it should be? --Jason Robinson (talk) 17:09, 21 November 2013 (WST)