Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Private
  • Views: 53
  • Last Modified:

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?
0
elwayisgod
Asked:
elwayisgod
  • 3
  • 3
2 Solutions
 
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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
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.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now