Hello -
On my latest installation of GN V2, the scheduled tasks are not executing. I can manually run the tasks by clicking 'Run Now', but the tasks do not run on their scheduled settings. Example is the "Send Emails" task which should run every 60 seconds by default.
The tasks are enabled and set to run on 1 minute increments. The only task that is enabled is the standard Send Emails task.
My installation is GN V2.0.0
OS is Microsoft Windows 10.0.20348
ASP.NET is v4.0.30319
Are there any IIS or server settings that must be configured to allow the scheduled tasks to run?
Any assistance would be appreciated. Thanks!
Scheduled Tasks not running
Thursday, December 26, 2024 9:16:52 PM
Hi,
Please check the log to see if you can find the reason for the issue.
If you want to disable all scheduled tasks for the application, you can do so by modifying the 'DisableHostedService' setting in the 'Application' section of the 'appsettings.json' file located in the 'App-Data' folder. The value for this setting should be set to false.
If the issue still persists and you're making changes to the database, please ensure that the 'customer' collection contains an email address for 'builtin@background-task-record.com'. If this email doesn't exist, you can try copying it from the demo database of Grandnode2
Please check the log to see if you can find the reason for the issue.
If you want to disable all scheduled tasks for the application, you can do so by modifying the 'DisableHostedService' setting in the 'Application' section of the 'appsettings.json' file located in the 'App-Data' folder. The value for this setting should be set to false.
If the issue still persists and you're making changes to the database, please ensure that the 'customer' collection contains an email address for 'builtin@background-task-record.com'. If this email doesn't exist, you can try copying it from the demo database of Grandnode2
0