Objects>Schedule Object>Properties>Timespec
Caravan Business Server>Help>Objects>Schedule Object>
Properties>
Timespec
|
Name
|
Timespec
|
Text
|
It is necessary that at least one timespec is specified. Count can be any integer value and is optional. If count is specified then the scheduled html file is executed only for the specified number of times. Timespecs are hierarchial The hierarchy for the timespecs is as follows: · Year · Month · Date · Day · Hour · Minute When a timespec is not specified, it is assumed to be valid at all values if the unspecified timespec is higher in hierarchy compared to the specified values. It takes the lowest value if the unspecified timespec is lower in hierarchy compared to the specified values. For example, if only date is specified then all values of year, month, day are valid, since year, month, day are higher in hierarchy compared to date. The minute and hour is assumed to be 0 since they occur lower in hierarchy as compared to date. Periodic scheduling is achieved by putting multiple values (maximum is 24).
|
Syntax
|
<caravan>schedule=(timespec=n1,n2,....,n24&....timespec=n1,n2...n24&count=n)</caravan> timespec : hour,minute,second,year,day,month,date n1...n24 : valid numbers for the respective timespec hour : 1 to 24 minute : 0 to 59 month : (jan(1) to dec(12)) or 1 to 12 [only first three letters of the month are checked. Feb, february, sept are valid months.] day : (sun(1) to sat(7)) or 1 to 7 [only first three letters of the day are checked so wed, sun, monday, thur are all valid] date : ( 1 to 31) year : greater than 0: ( values less than 100 added to 2000)
|
Sample
|
<caravan>schedule=(month=jan,feb,mar,apr,may,june,jul,august,sept,oct,nov,dec&date=1)</caravan> is same as <caravan>schedule=(date=1)</caravan> is same as <caravan>schedule=(month=jan,feb,mar,apr,may,june,jul,august,sept,oct,nov,dec)</caravan>
|
Back
|
|