mitchelmarsh
-
Total Posts
:
4
- Scores: 0
-
Reward points
:
0
- Joined: 4/5/2010
-
Status: offline
|
PS Script - Scheduled Task
Monday, April 05, 2010 12:19 AM
( permalink)
I have a PS script which seems to work just fine when run from the command line, however, when scheduled it does run but does not complete properly. Case in point, I am building a list of files from a query of an Oracle database, but none of the calls to the Oracle commands are run. This is on XP and somewhere I read that Net libraries won't work in scheduled PS script because of something to do with the console window?
|
|
|
|
ebgreen
-
Total Posts
:
8227
- Scores: 98
-
Reward points
:
0
- Joined: 7/12/2005
-
Status: offline
|
Re:PS Script - Scheduled Task
Monday, April 05, 2010 12:26 AM
( permalink)
If you can remember where you read that about the .net libraries, I would like to read it. I have not heard that. I have run PS scripts as scheduled tasks before (as a matter of fact one is going to run on this box in about 30 minutes). I suspect that your issue is probably related to user context. Are you forcing the scheduled task to run as you?
|
|
|
|