SolvedPrivate

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

Posted on 2015-02-18
7
30 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 69

Accepted Solution

by:
Qlemo earned 250 total points
ID: 40617696
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
ID: 40617746
User account has full access.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40617774
What's the error message or task execution status?
0
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 
LVL 25

Assisted Solution

by:Lionel MM
Lionel MM earned 250 total points
ID: 40618847
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
ID: 40629655
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
ID: 40629657
Thanks for responses and help troubleshooting.
0
 
LVL 69

Expert Comment

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

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Modern/Metro styled message box and input box that directly can replace MsgBox() and InputBox()in Microsoft Access 2013 and later. Also included is a preconfigured error box to be used in error handling.
This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

749 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