I use dtexec to run ssis packages and I use the dtexec...>e:\log.txt command to write console messages to a txt file. It works fine if I run it manually, but it is not working if I put it in task schedule. It seems no permission to create the log.txt file. I checked the "Run with highest Privileges" option. But I use the same account as I do this manually.
Asked
Active
Viewed 85 times
0
-
Most likely, drive `E:\` is not mapped when running from scheduler. – Filburt Feb 22 '17 at 09:50
-
e: is a local drive – Sven Feb 23 '17 at 03:08
-
Does your account have the [right to log on as batch job](https://technet.microsoft.com/en-us/library/cc957131.aspx)? – Filburt Feb 23 '17 at 07:37