I'm so confused with the pm2-logrotate configuration, i need some help. I've search for documentation and googled with zero result. I just want to rotate the log every week.
I've tried using pm2 set pm2-logrotate:rotateInverval 0 0 * * 0
but the log file generated daily.
I just don't understand that cron stuff and i need some explaination, can somebody explain it to me?
thank you in advance.