I have a small R
script. Typically, 15-20 lines of code. This script replies to random people on Twitter
. Everything is working fine when I run the code. Now, I want to auto-run this after fixed intervals of time. So, I made a .bat
the file of the R
script and schedule the task in the windows scheduler to run after every 15 mins. This works fine as well and the way I expect it to work. Now, the problem is the scheduler works only when my system is working. Once I shut down my system, the scheduler also stops working and the script does not execute.
I want a server (not sure if this is the right word), where I can host the R
file or .bat
file and where I can schedule the script to execute after every X mins. I need a server (??) because I want this to be active 24 X 7.
I have tried deploying it on shinyapps.io
but somehow it doesn't work. Have gone through this as well, with no help. Any help would be appreciated.