A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
pm2 flush with crontab
-
Hello,
I try to flush the pm2 logs every morning with crontab using this command…
30 07 * * * pm2 flush
but it does not work automatically, without any error showing.
Does anyone of you know how to perform this action with crontab?
Many thanks.
-
@com1cedric you need to do the crontab a s the user where pm2 is installed, not root
-
Many thanks @sdetweil , I will try!