on 12-20-2013 7:03 AM
Hi,
I am scheduling a report from Central Management Console and creating a schedule based event. I want to run a .bat file (success.bat) when the report is successful and another file (failure.bat) when the report has failed. But I don't want to create two separate schedule based events for success and failure. I want to create one event which will be triggered when the report is complete. The event should check whether the report is successful, if so run success.bat, otherwise run failure.bat. How should I do that?
Hi Harris,
I think the above requirement can be fullfilled using the below methods:
For this we have to have create two Schedule based events as Schedule based event can be triggered having these three conditions:
Once the Schedule based Event is created we have to create a Program Object
Steps to Create a Program Object
Schedule a report
Schedule a Program file
Let me know if I correctly understood your requirement.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think it is possible to trigger batch file based on the schedule status with the default product options..
we can have Email to know the schedule status. but not batch file based on the schedule status
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Haris,
While scheduling a report you can use Notification option which can help you notify the sucess or failure of report via email or Auditing functionality.
Is you requirement that any report that schedules should notify about its sucess and failure which should be handled by the batch file?
Rgds,
Unmesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.