You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Application configuration environment is state full so yes this is exact, the solution is to totally reset the process environment by doing a pm2 delete ; pm2 reload <process.json>
What's going wrong?
I cannot seem to be able to remove/cancel a cron_restart property.
How could we reproduce this issue?
I have a processes.json as follow
If i change cron_restart to another value like "*/10 * * * *" and run
the cron pattern is updated as expected in /.pm2/dump.pm2 and the restart happen as expected.
if now i remove the cron_restart property from the processes.json file, and redo,
the cron_restart property is still present in /.pm2/dump.pm2 and the app will restart.
Supporting information
My current workaround is to
pm2 delete myapp
andpm2 reload processes.json --update-env --only myapp
The text was updated successfully, but these errors were encountered: