Sourcecode in Global/objectFunctions.js:
1: function scheduler() {
2: // call autocleanup
3: root.manage.autoCleanUp();
4: // notify updated sites
5: pingUpdatedSites();
6: // countUsers();
7: // write the log-entries in app.data.accessLog into DB
8: writeAccessLog();
9: // store a timestamp in app.data indicating when last update
10: // of accessLog was finished
11: app.data.lastAccessLogUpdate = new Date();
12: // store the readLog in app.data.readLog into DB
13: writeReadLog();
14: // send mails and empty mail queue
15: flushMailQueue();
16: return 30000;
17: }
|