You will need a computer that is running, obviously 
As you are working in an AWS environment I suggest starting an EC2 instance with Ubuntu, install R & RStudio Server and schedule execution of your script via cronR package.
It will take some time & effort to set up, but once running it is pretty reliable.