added gather

This commit is contained in:
Martin Donnelly 2018-06-14 10:04:08 +01:00
parent aa82f3e3a2
commit b615a4a4ee

View File

@ -1,4 +1,3 @@
const outputFile = 'news';
const RssBraider = require('rss-braider');
const fs = require('fs');
const ejs = require(
@ -12,8 +11,6 @@ const str = read(
'utf8');
const feeds = {};
const argv = require('yargs').argv;
const log4js = require('log4js');
const logger = log4js.getLogger();
@ -117,7 +114,5 @@ async function main() {
cron.schedule('0 * * * *', function () {
main();
// saveToDB(todayCache);
// Console.log('tick');
return -1;
});