Open Samllock opened 10 months ago
Are you hosting it in IIS? If so, then the cause could be due to the process being stopped as no requests have been made within a certain time (usually 2hours, but configurable in IIS). This prevents triggers executing as Quartz/Hangfire is not running. As soon as you make a request (republish or any other request), it would restart the process again which in turn lets HangfireQuartz trigger the cron again.
On Tue, Oct 3, 2023 at 12:06 PM Samllock @.***> wrote:
I have created a workflow using the designer and scheduled it to run every hour. It runs for the the first one or 2 hours successfully then doesn't run anymore. It will however run again for a few times if I change the cron expression and publish but that will eventually stop running aswell. I've attempted changing the expression to run at minute intervals and it runs for a while and eventually stops aswell. I am not sure why it does not continually run at the expected interval
[image: image] https://user-images.githubusercontent.com/29231014/272238654-fb5c5ddb-6324-4711-8021-c8436aca6ab1.png
[image: image] https://user-images.githubusercontent.com/29231014/272231730-dc765eb9-8a65-490c-b32c-faf1061e2cc0.png
— Reply to this email directly, view it on GitHub https://github.com/elsa-workflows/elsa-core/issues/4495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSMRZFZ446JIXSBU6B32U3X5PWRPAVCNFSM6AAAAAA5QZU7JWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDGOBYGMZTGMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I'll check this morning and respond here. Thanks for the quick response!
any update on this?
I have created a workflow using the designer and scheduled it to run every hour. It runs for the the first one or 2 hours successfully then doesn't run anymore. It will however run again for a few times if I change the cron expression and publish but that will eventually stop running aswell. I've attempted changing the expression to run at minute intervals and it runs for a while and eventually stops aswell. I am not sure why it does not continually run at the expected interval