I created a task running each hour by taskscheduleR. However, it may have some local connection problem and go to infinite loop. Since taskscheduleR detects R script is still working, next task doesn't start.
I am looking a way if execution of R script lasts more than 10 min, interrupt this task.
When I click on the exit button, it stops the execution. This schedule is created in a common PC. Thus, it should be stopped automatically.