Skip to content

Cron doesn't run after 15 minutes of running every 2 minutes #231

@Cyberuben

Description

@Cyberuben

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions