finished scheduled close after opening
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user