Open esdkrwl opened 5 years ago
Thanks for the issue, you are correct, the logs can get really huge.
This issue is related to #7, because it throws an error every time it finds a post that already exists, and those errors and stack traces can get quite long. I'll work on this and post the fix here.
iot@iot:~/.pm2/logs$ ls -sh cron-out.log 14G cron-out.log
cron.js creates really large log-files (see above). It's not a fix, but if you start the cron job like this pm2 start cron.js -o "/dev/null" -e "/dev/null" no log files should be created and precious diskspace is saved.