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
My production env has 2 instances of application running (Running app over PM2 )
Currently, this cron running 2 times in my application how to limit to 1?
The text was updated successfully, but these errors were encountered:
mjafartp
changed the title
[question] Running multipple times
[question] Running multiple times
Apr 21, 2022
So croner is running according to the schedule, but since you have multiple instances you get multiple executions each time? Could you add a check so that croner starts only if process.env.pm_id is 0 (first instance) or something like that?
My production env has 2 instances of application running (Running app over PM2 )
Currently, this cron running 2 times in my application how to limit to 1?
The text was updated successfully, but these errors were encountered: