Skip to content

Commit

Permalink
feat: add caption to image
Browse files Browse the repository at this point in the history
  • Loading branch information
FeGroders committed Dec 4, 2022
1 parent 9ef9657 commit 63cff3f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 7 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ const doWork = async () => {
return;
}

// await tweetNews(latestNewsInfo);
// await postNews(latestNewsInfo);
// await sendWebhook(latestNewsInfo);
await tweetNews(latestNewsInfo);
await postNews(latestNewsInfo);
await sendWebhook(latestNewsInfo);
await Post.create({
website_url: latestNewsInfo.link,
title: latestNewsInfo.title,
Expand Down Expand Up @@ -133,9 +133,9 @@ const doWork = async () => {
}
})();

// console.log(Date() + '- Starting cron job...');
// var job = new CronJob('0,30 8-22 * * *', function() {
console.log(Date() + '- Starting cron job...');
var job = new CronJob('0,30 8-22 * * *', function() {
doWork();
// });
});

// job.start();
job.start();
2 changes: 2 additions & 0 deletions replit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
pkgs.nodePackages.typescript-language-server
pkgs.yarn
pkgs.replitPackages.jest
pkgs.ffmpeg
pkgs.imagemagick
];
}

0 comments on commit 63cff3f

Please sign in to comment.