Troubleshooting scheduled reports running late
How to increase the number of scheduled reports permitted to execute concurrently.
Description
Scheduled reports are not running on time and are consistently late. Running the report manually works properly.
By default, Applications.ScheduleConcurrency permits 2 scheduled jobs to be executed concurrently. Additionally, Connect will prevent execution of a new job if the previous run of that job has not completed.
Solution
You can configure Connect using the ScheduleConcurrency parameter. This value sets how many scheduled reports execute in parallel. Increase the number of reports permitted to render concurrently by adjusting the value of Applications.ScheduleConcurrency in the configuration file, e.g.:
/etc/rstudio-connect/rstudio-connect.gcfg
[Applications]
ScheduleConcurrency=5Adjust this value to fit your environment based on your internal architecture and existing applications. The above example allows for up to 5 reports to execute in parallel.
After making those changes, restart the Connect service for the changes to take effect.
For more information on scheduling content, see the Connect User Guide.
If you’re still having issues, you can reach out to Support by opening a ticket.