Update serve.js

This commit is contained in:
yamanq 2016-02-07 15:20:03 -05:00
parent 4a48e7a979
commit bd0299516d

View File

@ -8,7 +8,7 @@ schedule.permit(['insert', 'update', 'remove']).never().apply();
SyncedCron.add({ SyncedCron.add({
name: 'Remove Entries past today', name: 'Remove Entries past today',
schedule: function(parser) { schedule: function(parser) {
return parser.recur().on('15:35:00').time(); return parser.recur().on('00:00:00').time();
}, },
job: function() { job: function() {
var today = new Date(); var today = new Date();
@ -39,4 +39,4 @@ Meteor.methods({
}); });
} }
} }
}) })