Schedule creates multiple reports after jsreport server restart



  • Hey
    I am using jsreport-core in node with jsreport-scheduling extension. My application has fs configured for jsreport.
    I am facing issues when my node server stops and restarts after some time. My schedule also gets created itself but it runs multiple times.
    For example : If my schedule is configured to run every 10 minutes and my server was down for 60 mins then on restart my schedule runs 6 times.
    How can i prevent this from happening?



  • Currently, your only option is to fork the scheduling extension and do the change in code.

    We will make the behavior configurable in future release.
    https://github.com/jsreport/jsreport/issues/650


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.