dalearyous
[H]ard|Gawd
- Joined
- Jun 21, 2008
- Messages
- 1,922
ok so bare with me for a moment. i am using task scheduler to run a batch file. the ONLY thing the batch file is doing is running a .R file. inside the .R file is some code that depending on the situation fires off some emails. for whatever reason task scheduler will run and supposedly execute the batch file but it will not run correctly. it gets stuck and no emails are sent. if i change the .R code to create a test file it will but it won't send emails.
now here is where its strange. if i don't use task scheduler and simply run the batch file, it runs fine emails get sent etc ...
what am i missing? it seems as if the task scheduler actually cares what code is running. i have tried all sorts of run as administrator stuff or using local administrator or domain administrators. nothing seems to work.
now here is where its strange. if i don't use task scheduler and simply run the batch file, it runs fine emails get sent etc ...
what am i missing? it seems as if the task scheduler actually cares what code is running. i have tried all sorts of run as administrator stuff or using local administrator or domain administrators. nothing seems to work.