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.
17 lines
350 B
17 lines
350 B
9 years ago
|
#!/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');
|
||
|
});
|
||
|
});
|