Browse Source

added cronjob

master
hayalat 4 years ago
parent
commit
d9e1d25193
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      xi_news/main.js

+ 1
- 1
xi_news/main.js View File

@ -54,7 +54,7 @@ console.log(client.commands);
client.once('ready', () => {
console.log('Ready!');
console.log('Before job instantiation');
const job = new CronJob('00 21 13 * * *', function () {
const job = new CronJob('00 30 09 * * *', function () {
client.channels.cache.get(`734387503464710165`).send(`rss time`);
execute();


Loading…
Cancel
Save