I've made a flexdashboard that I want to run daily via cron. I can of course manually knit the document to get the right output by pressing the knit button in r studio. But what code is this running? I would like to put this at the end of the rmarkdown and then use Rscript to run it from the terminal