added gather
This commit is contained in:
parent
aa82f3e3a2
commit
b615a4a4ee
@ -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;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user