-
I have been able to schedule RMarkdown reports to be generated automatically via the Windows Task Scheduler. John Mackintosh's post was quite helpful for troubleshooting. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I would say there is nothing specific about Quarto that would prevent running from task scheduler using any of the approach in the post. Quarto is CLI tool first, so I would use a .bat (cmd) or .ps1 (powershell) script that would call Only thing you need to take care of is be sure that Windows can find With R package you can also set the I think this is a configuration issue you are encountering. Windows task scheduler should be working with any program - unless I am unaware of some limitation. If you have some error message to share, I can try help further |
Beta Was this translation helpful? Give feedback.
-
Thank you @cderv, that fixed it. It now works. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Just in case this helps anyone else- I was testing setting a job up with quarto and could not get the task to run with
However, removing the
(I don't have the CLI installed so running this via R script and the |
Beta Was this translation helpful? Give feedback.
I would say there is nothing specific about Quarto that would prevent running from task scheduler using any of the approach in the post.
Quarto is CLI tool first, so I would use a .bat (cmd) or .ps1 (powershell) script that would call
quarto render
for your document.If you want to go the R way, then you can use the quarto R package indeed.
Only thing you need to take care of is be sure that Windows can find
quarto
binary from the scheduled tasks. I am thinking that if you are using Quarto only from RStudio for example, the CLI tool won't be in PATH, and only accessible from within RStudio IDE.If you install Quarto with installer (https://quarto.org/docs/get-started/) then it should be p…