### Bug description

I'm unable to schedule a cron job to automatically render/publish a quarto website. The command get executed but the log just shows an empty line (like the output you get when you just execute quarto without any parameter).

This is the entry in my cron schedule file (linux/debian). The exact same command works when executed in the terminal.

`*/10 * * * * /usr/local/bin/quarto publish --no-prompt --no-browser quarto-pub '/home/rstudio/mine_2022/' >> '/home/rstudio/mine_2022/siteupdate.log' 2>&1`

I was not able to find documentation on how to schedule such a command.

Thank you in advance for your help. Best, Fabio

### Checklist

- [X] upgraded to the [latest nightly quarto version](https://github.com/quarto-dev/quarto-cli/releases)?
- [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read?
- [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well.
jjallaire
2022-08-23T09:42:54Z
fabiogiglietto
bug
v1.2
closed
Schedule quarto publish with cron
https://github.com/quarto-dev/quarto-cli/issues/2066