You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
350 B
16 lines
350 B
#!/usr/bin/env node
|
|
|
|
'use strict';
|
|
|
|
var config = require('../config');
|
|
var FiatRateService = require('../lib/fiatrateservice');
|
|
|
|
var service = new FiatRateService();
|
|
service.init(config, function(err) {
|
|
if (err) throw err;
|
|
service.startCron(config, function(err) {
|
|
if (err) throw err;
|
|
|
|
console.log('Fiat rate service started');
|
|
});
|
|
});
|
|
|