I have a simple R code that runs once a day to do a specific task. Currently I am using the scheduleR package that has a shiny GUI which allows you to set prefixed time of the day to run the script. However, I would like to have this written in the code rather than depend on the package as the package might or might not be maintained in the future. Example, I want the code to run at 11.50am UTC time everyday. How can i incorporate this into a
while(TRUE){
<code inside>
}
loop to get get this done? Any form of simple and elegant way of doing it would be of great help! My main aim is to not depend on any packages to do a scheduled run of my loop.