finished scheduled close after opening

This commit is contained in:
Senad Uka
2016-02-14 10:34:54 +01:00
parent 5a4dd87e4f
commit f203119656
7 changed files with 99 additions and 25 deletions

View File

@@ -1,14 +1,10 @@
if (Meteor.isServer) {
Meteor.startup(function() {
// code to run on server at startup
return Meteor.methods({
clearLog: function() {
return SensorData.remove({});
}
});
SyncedCron.start();
});
// Global API configuration
var Api = new Restivus({
useDefaultAuth: true,
@@ -30,5 +26,5 @@ if (Meteor.isServer) {
}
});
}