'How to schedule a shiny app and deploy it to R server automatically

I have created a shiny app on my local machine(windows 10) . My shiny app gets the data from excel files . When ever my excel files are updated I manually run it by clicking on Run App button in the R studio and once the dashboard is displayed I deploy it to R connect server which is on linux server by using publish option. I would like to automate these processes . I should schedule it every week. I never scheduled anything using windows scheduler or any other schedulers. Please help me if I have to set any path/settings or how does this work.

Thank you



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source