fixed cron

v1.18.x
barisusakli 11 years ago
parent 61e1c51ef6
commit 9b26b60082

@ -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) {

Loading…
Cancel
Save