BCCDC-DSI / PHIDO-App

https://bccdc-dsi.github.io/PHIDO-App/
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Task scheduler troubleshoot #1

Open lisatwyw opened 1 month ago

lisatwyw commented 1 month ago

Program file/script

cmd.exe

Arguments

/c start /min C:\Users\user.name\Documents\job.bat ^& exit

Contents of job.bat:

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

lisatwyw commented 1 month ago

Reference: https://github.com/BCCDC-DSI/PHIDO-app/tree/main/logs