Dear all, I tried to search on docs.moodle.org and other places, but couldn't find the answer. In mdl_modules table, there are these columns:
id | name | version | cron | lastcron | search | visible |
---|---|---|---|---|---|---|
1 | chat | 2005031000 | 300 | 1155276006 | 1 | |
2 | choice | 2005041500 | 0 | 0 | 1 | |
3 | forum | 2005042600 | 60 | 1155276006 | 1 | |
4 | glossary | 2005041900 | 0 | 0 | 1 | |
5 | hotpot | 2005031418 | 0 | 0 | 0 | |
6 | journal | 2005041100 | 60 | 1155276006 | 0 | |
7 | label | 2004111200 | 0 | 0 | 1 | |
8 | lesson | 2005060900 | 0 | 0 | 1 | |
9 | presentation | 2005032800 | 0 | 0 | 1 | |
10 | questionnaire | 2006031702 | 43200 | 1155276006 | 1 | |
11 | quiz | 2005060301 | 0 | 0 | 1 | |
12 | resource | 2005041100 | 0 | 0 | 1 | |
13 | scorm | 2005052200 | 0 | 0 | 1 | |
14 | survey | 2005031600 | 0 | 0 | 1 | |
15 | wiki | 2005031000 | 0 | 0 | 1 | |
16 | workshop | 2005041200 | 60 | 1155276006 | 1 |
I think I could figure out most of them, but how do "cron" and "search" work? It seems that the "lastcron" would record when the cron job was last run with UNIX timestamp, but how about "cron" and "search"? If it is 300 (for chat), does it mean that it would run every 300 ms? Also, does the "search" just serve as a flag? Many thanks!
Judy