mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
fixed cron
This commit is contained in:
@@ -21,7 +21,7 @@ var async = require('async'),
|
|||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
winston.info('[notifications.init] Registering jobs.');
|
winston.info('[notifications.init] Registering jobs.');
|
||||||
}
|
}
|
||||||
new cron('0/30 * * * *', Notifications.prune, null, true);
|
new cron('*/30 * * * *', Notifications.prune, null, true);
|
||||||
};
|
};
|
||||||
|
|
||||||
Notifications.get = function(nid, callback) {
|
Notifications.get = function(nid, callback) {
|
||||||
|
|||||||
Reference in New Issue
Block a user