Skip to content

Node.js based forum software built for the modern web

fixed cron

barisusakli9b26b600824b
diff --git a/src/notifications.js b/src/notifications.js
index c8e4cd35f7..b5dcdb1059 100644
--- a/src/notifications.js
+++ b/src/notifications.js
@@ -21,7 +21,7 @@ var async = require('async'),
if (process.env.NODE_ENV === 'development') {
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) {