Docker Community Forums

Share and learn in the Docker community.

Using Containers to run R/Shiny workloads in Azure

I follow the link from

and is able to implement the Container for my Shiny Server application. However, I need one more thing extra, that is, to run my R scripts on a scheduled basis using Crontab.

An example of Crontab is seen here:

How can I combine both of them together? How would my Dockerfile be modified?
E.g my crontab is like this:

*/5 * * * * /usr/bin/Rscript /srv/shiny-server/AutoUpdated_RScripts/LoadWeatherData.R

Thank You.