I am new to R Scripts and have Zore Experiance Hence I am seeking your Suggestions on how to schedule the Batch Jobs to automate then in Windows Server with Task Schedular.
Script to run is and contants of myjob.bat:
"C:\Program Files\R\R-4.0.2\bin\x64\R.exe" CMD BATCH --vanilla --slave "I:\Power BI Codes\My Codes\Wonder Report.R"
What I have tried so far is:
- Manual execution of R Script will run without any issue.
- Manual execution of Batch job will run without any issue.
- It only fails execution through Windows Task Schedular OS Windows 2016.
- Other batch Jobs (non-R Scripts) will execute in Windows Task Schedular without any issue.