bnosac / taskscheduleR

Schedule R scripts/processes with the Windows task scheduler.
330 stars 72 forks source link

Possibility to define the path for the log files #87

Open hannes101 opened 2 years ago

hannes101 commented 2 years ago

Thanks a lot for this package, it really works great. But I would love to have the possibility to define the path, where the log files are written to. I would like to all put them into a subfolder, so that the folder with the code doesn't get so cluttered, but I couldn't find a way to define this path.

jwijffels commented 2 years ago

The package does not have this possibility, you would have to add an argument to taskscheduler_create where to put the logs in order to modify this line https://github.com/bnosac/taskscheduleR/blob/ea6ebee197192c37950f92a321fa232ace3f3917/R/taskscheduleR.R#L146 Feel free to provide a sensible pull request.