Open lisatwyw opened 1 month ago
cmd.exe
/c start /min C:\Users\user.name\Documents\job.bat ^& exit
C:\Program Files\R\R-4.3.1\bin\Rscript.exe C:\Users\user.name\Documents\task_sch_Monday_runs.R > C:\Users\user.name\Documents\log.txt
source: https://stackoverflow.com/questions/2793389/scheduling-r-script
Reference: https://github.com/BCCDC-DSI/PHIDO-app/tree/main/logs
Program file/script
Arguments
Contents of job.bat:
source: https://stackoverflow.com/questions/2793389/scheduling-r-script