none
Running monitor at a specific times RRS feed

  • Question

  • hello

    I am trying to create MP for an application. the application have an internal job that is running twice a day, at 08:00 and at 16:00 (this might change, so it will required override options in the monitoring) i want to monitor that the job completed successfully, but i need this monitor to run only twice a day , a few minutes after the application job should be complete, lets say in 08:15 and 16:15

    with the system.simplescheduler module type i can specify interval for a monitor that will run every X minutes.

    with the system.scheduler module type i can specify time period of time to rub the monitor , i.e 16:00 to 17:00

    how can i create monitor that will run in specific time(s) ?

    Monday, October 21, 2013 1:26 PM

Answers

  • Hello,

    You can use System.Scheduler for this, something like this:

        <DataSource ID="Scheduler" TypeID="System!System.Scheduler">
    		<Scheduler>
    		  <WeeklySchedule>
    			<Windows>
    			  <Daily>
    				<Start>08:15</Start>
    				<End>08:15</End>
    				<DaysOfWeekMask>127</DaysOfWeekMask>
    			  </Daily>
    			  <Daily>
    				<Start>16:15</Start>
    				<End>16:15</End>
    				<DaysOfWeekMask>127</DaysOfWeekMask>
    			  </Daily>
    			</Windows>
    		  </WeeklySchedule>
    		  <ExcludeDates/>
    		</Scheduler>
        </DataSource>
    

    This will be executed every day at 08:15 and 16:15, you can set the days too

    Use the above links for creating the monitor.

    Tuesday, October 22, 2013 4:04 PM

All replies