I'm using the taskschedulerR library and i get the following error. I'm trying to have R run a script nightly how can i fix this error or is there a better option?
How do you resolve this issue:
Warning in system(cmd, intern = TRUE) : running command 'schtasks /Create /TN "SalesByCustomerDetail_Report.R" /TR "cmd /c C:/PROGRA~1/R/R-43~1.2/bin/Rscript.exe \"C:/Analytics/analytics/SalesByCustomerDetail_Report.R\" >> \"C:/Analytics/analytics/SalesByCustomerDetail_Report.log\" 2>&1" /SC DAILY /ST 10:10 /SD "17/02/2024" ' had status 16389