Vulcan/packages/telescope-core/lib/server/start.js

18 lines
360 B
JavaScript
Raw Normal View History

Meteor.startup(function () {
Events.log({
name: "firstRun",
2015-03-28 18:30:26 +09:00
unique: true, // will only get logged a single time
important: true
});
2015-01-02 16:05:28 +09:00
});
if (Telescope.settings.get('mailUrl')) {
process.env.MAIL_URL = Telescope.settings.get('mailUrl');
}
2015-04-22 11:33:36 +09:00
Meteor.startup(function() {
if (typeof SyncedCron !== "undefined") {
SyncedCron.start();
}
});