11-22-2016 03:33 AM - edited 03-17-2019 08:44 AM
I am looking to run certain tasks on Call Manager (10.5) every so often using the BAT tool.
Ideally I am looking for as much automation as possible, so I am looking for a solution where Call Manager can look at a certain directory, pull the BAT files from there and run them automatically at recurring, set dates.
Is such a thing possible?
Thanks in advance.
Solved! Go to Solution.
12-01-2016 06:28 AM
You are correct in your assumption, the same job would repeat.
There is no other native way to accomplish what you are looking for. Only thing I can think of is developing your "update job" with SQL query if applicable and run it using AXL SOAP API.
11-22-2016 07:50 AM
Sure, simply build the BAT job, select "Run Later" instead of "Run Immediately" under Job information, then go to BAT --> Job scheduler, locate the job and select desired frequency i.e. Daily, Monthly, etc and specify time. If your desire is to run it only on specific hard coded days rather than specific frequency then you would need to replicate this job and schedule for those dates. Alternatively you can create an external job, i.e. SQL job that runs against CUCM using the AXL SOAP API.
12-01-2016 06:26 AM
Hi Chris,
Thanks for the response. As I understand, re-running the Job would simply re-run the same initially uploaded file again and again - is that correct?
If I wanted to run a different file each time at a specific interval, how would this be accomplished?
Thank you for your assistance.
12-01-2016 06:28 AM
You are correct in your assumption, the same job would repeat.
There is no other native way to accomplish what you are looking for. Only thing I can think of is developing your "update job" with SQL query if applicable and run it using AXL SOAP API.
12-01-2016 06:33 AM
Hi Chris,
Appreciate the prompt information. It does seem like working directly with the API is the way to go.
Do you have a link to any resources which may assist me with this?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide