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
I just had my application running for 15 minutes. I've had the same problem a few times already, where the cron simply stops executing. I do not have a function calling it to a stop anywhere, no infinite loops or whatsoever, so I don't think this could be the problem. I'm using the following code:
new cron("0 */2 * * * *", functionToExecute, null, true);
The function that is executed has a console.log to let me know it finished executing, this is printed every time, so I know it reaches the end of the function. What could the problem here be?