Can't run a batch from UNC path in Task Scheduler

Hi,

Trying to run a batch via task scheduler but it won't run.  On the 'Actions' tab i put this for the 'Program/script' field:  \\opus\hyperion\automation\run_triggers.bat

Note:  The \\opus\hyperion\automation directory is on a SAN not a server.  I tried mapping the \\opus\hyperion drive to Z and then:

Z:\automation\run_triggers.bat

Still won't execute.  Could I use NET USE or something like that?
elwayisgodAsked:
Who is Participating?
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Is it a normal user account you run the task under? Certain computer accounts are restricted in having no network access. And you can't use drives mapped in your interactive user session.
0
 
elwayisgodAuthor Commented:
User account has full access.
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
What's the error message or task execution status?
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
Lionel MMSmall Business IT ConsultantCommented:
Can you run this from a command prompt please and post the results; from a dos prompt type
\\opus\hyperion\automation\run_triggers.bat
and then tell us what you get
0
 
elwayisgodAuthor Commented:
It was due to a Environment variable on DEV server that was on TEST and PROD.  Sorry for confusion, I'm not a Windows Server guru :)
0
 
elwayisgodAuthor Commented:
Thanks for responses and help troubleshooting.
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Did we really help? If not, the question should get deleted.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.