How can I use RUNBATCH to create schedules for an hourly process?
RUNBATCH takes a template and a script.
Template
The template name is recurringschedule.tmp. It is located in the Installation Directory/conf/templates directory:
<calendarSchedule>
<id>&name;</id>
<desc>&name;</desc>
<enabled>true</enabled>
<ner>
<start>&start;</start>
<end>&end;</end>
<day>0</day>
</ner>
<calendarId>Daily</calendarId>
<timeZone>America/Chicago</timeZone>
<roles></roles>
</calendarSchedule>
Note: Substitute an appropriate
value for timeZone in your template.
Script
The script name is recurringschedulescript.txt.
It should be put in the Installation Directory/conf/f directory.
copy recurringschedule
&name; =0000 to 0100
&start; =00:00
&end; =01:00
SCHEDULE
copy recurringschedule
&name; =0100 to 0200
&start; =01:00
&end; =02:00
SCHEDULE
copy recurringschedule
&name; =0200 to 0300
&start; =02:00
&end; =03:00
SCHEDULE
copy recurringschedule
&name; =0300 to 0400
&start; =03:00
&end; =04:00
SCHEDULE
copy recurringschedule
&name; =0400 to 0500
&start; =04:00
&end; =05:00
SCHEDULE
copy recurringschedule
&name; =0500 to 0600
&start; =05:00
&end; =06:00
SCHEDULE
copy recurringschedule
&name; =0600 to 0700
&start; =06:00
&end; =07:00
SCHEDULE
copy recurringschedule
&name; =0700 to 0800
&start; =07:00
&end; =08:00
SCHEDULE
copy recurringschedule
&name; =0800 to 0900
&start; =08:00
&end; =09:00
SCHEDULE
copy recurringschedule
&name; =0900 to 1000
&start; =09:00
&end; =10:00
SCHEDULE
copy recurringschedule
&name; =1000 to 1100
&start; =10:00
&end; =11:00
SCHEDULE
copy recurringschedule
&name; =1100 to 1200
&start; =11:00
&end; =12:00
SCHEDULE
copy recurringschedule
&name; =1200 to 1300
&start; =12:00
&end; =13:00
SCHEDULE
copy recurringschedule
&name; =1300 to 1400
&start; =13:00
&end; =14:00
SCHEDULE
copy recurringschedule
&name; =1400 to 1500
&start; =14:00
&end; =15:00
SCHEDULE
copy recurringschedule
&name; =1500 to 1600
&start; =15:00
&end; =16:00
SCHEDULE
copy recurringschedule
&name; =1600 to 1700
&start; =16:00
&end; =17:00
SCHEDULE
copy recurringschedule
&name; =1700 to 1800
&start; =17:00
&end; =18:00
SCHEDULE
copy recurringschedule
&name; =1800 to 1900
&start; =18:00
&end; =19:00
SCHEDULE
copy recurringschedule
&name; =1900 to 2000
&start; =19:00
&end; =20:00
SCHEDULE
copy recurringschedule
&name; =2000 to 2100
&start; =20:00
&end; =21:00
SCHEDULE
copy recurringschedule
&name; =2100 to 2200
&start; =21:00
&end; =22:00
SCHEDULE
copy recurringschedule
&name; =2200 to 2300
&start; =22:00
&end; =23:00
SCHEDULE
copy recurringschedule
&name; =2300 to 2400
&start; =23:00
&end; =24:00
SCHEDULE