Task Scheduler does not run the task.
at first I ran the example code you have in README, it did not work so I opened tasks dataframe and found out that the last run time did not changed and there is no log.
So I've moved the helloword file to another location( C:\taskscheduler ) and I change the myscript to this
but It still does not run it.
I think there is something wrong with the Task to Run part :
cmd /c C:/PROGRA~1/R/R-34~1.3/bin/Rscript.exe "C:\taskscheduler\helloworld.R" >> "C:\taskscheduler\helloworld.log" 2>&1
Hey,
Task Scheduler does not run the task. at first I ran the example code you have in README, it did not work so I opened tasks dataframe and found out that the last run time did not changed and there is no log. So I've moved the helloword file to another location( C:\taskscheduler ) and I change the myscript to this
myscript <- 'C:\taskscheduler\helloworld.R' mylog <- 'C:\taskscheduler\helloworld.log' taskscheduler_create(taskname = "myfancyscript", rscript = myscript, schedule = "ONCE", starttime = format(Sys.time() + 62, "%H:%M"))
but It still does not run it. I think there is something wrong with the Task to Run part :
cmd /c C:/PROGRA~1/R/R-34~1.3/bin/Rscript.exe "C:\taskscheduler\helloworld.R" >> "C:\taskscheduler\helloworld.log" 2>&1
I really appreciate your help