It is currently 25 May 2017 1:46


Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 20 Jun 2013 7:38 
Offline
Nouveau
Nouveau
User avatar

Joined: 17 Jun 2013 8:00
Posts: 12
I need to run a windows batch file from control-m. when the batch file is executed directly from the server it works fine. But when the batch file is called from control-m some proxy issue is occuring. Is there any script that can be called from control-m in-turn it will call the batch file?
or any ideas to over come this issue?


Top
   
 Post subject:
PostPosted: 27 Jun 2013 4:52 
Offline
Nouveau
Nouveau
User avatar

Joined: 14 Jan 2010 9:00
Posts: 58
Hi,

Are you running the batch file in control-m as the same user (owner) that runs successfully when done manually? If you do not select "Logon as: Local system account" in the agent service properties (Logon tab) it will always run as the entry in "Logon as: This account". It will not matter what you set the Owner to. It will always run as "This Account"

There are other settings that must be changed on the windows agent server and in control-m if you select "Logon as: Local system account".

Might be easier to grant permission to "This Account" id to run the batch file.


Top
   
 Post subject:
PostPosted: 08 Jul 2013 3:57 
Offline
Nouveau
Nouveau
User avatar

Joined: 17 Jun 2013 8:00
Posts: 12
Hi Jstarkw,
Thanks for your reply.
Our SysAdmin team also have suggested the same that to run the control-m agent service to be 'logon as' the account not as local system.So changed the account to some other account name and the job going successful.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+10:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved