SolvedPrivate

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

Posted on 2015-02-18
7
27 Views
Last Modified: 2016-02-11
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
Comment
Question by:elwayisgod
  • 3
  • 3
7 Comments
 
LVL 68

Accepted Solution

by:
Qlemo earned 250 total points
Comment Utility
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
 

Author Comment

by:elwayisgod
Comment Utility
User account has full access.
0
 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
What's the error message or task execution status?
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 24

Assisted Solution

by:lionelmm
lionelmm earned 250 total points
Comment Utility
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
 

Author Comment

by:elwayisgod
Comment Utility
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
 

Author Closing Comment

by:elwayisgod
Comment Utility
Thanks for responses and help troubleshooting.
0
 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
Did we really help? If not, the question should get deleted.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now