...previous
SCHEDULE SECTIONS
Schedule file is separated on sections
which (except two special types of sections) groups
commands
which must be executed on one day.
Common format of the section header is following:
[section name]
Section name consists of two Latin letters (except section of
the day of month), not case-sensitive. Section header also
can contains additional information (if it requirements).
Section name set day to execute commands of the section.
Name may be one of following:
- for every day section - ev
- for week days:
- Monday - mn
- Tuesday - tu
- Wednesday - we
- Thursday - th
- Friday - fr
- Satturday - sa
- Sunday - su
- To set numbered day of week of month (as well as first Monday,
or third Friday, etc.) you can add number of the day to one of
the week days section names.
Sample: [mn 2] - second Monday of every month.
Also you can set last day af week of month using suffix 'L'.
Sample: [fr L] - last Friday of every month.
- work days (Mn,Tu,We,Th,Fr) - wo
- WeekEnd (st, su) - wd
- First and last WorkDay or WeekEnd of the month - using suffixes
'F' (for first) and 'L' (for last). Sample:
[wo f] - first WorkDay every month.
- Last day of every month - la.
- date - daDATE - date format: DD.MM.YY or DD.MM.YYYY
Sample:[da03.10.1998] - October, 3th, 1998.
- even dates (2,4,etc.) - en
- odd dates (1,3,etc.) - od
- periodic with predefined interval of days, begins from
defined date - in INTERVAL DATE.
Commands of this section will be executed one time in INTERVAL of days,
begins from DATE. If DATE parameter is absent, date, defined with
sd option, will be used as zero
point. If sd option is absent zero point will be set on
January, 1, 1900.
Sample: [in 10 11.10.1998] - October 11, October 21, October 31, November 10, etc.
Date format: use following format of the date: DD.MM.YY . It may
be used any separator (1.1.99 = 1/1/99 = 01-01-1999).
Also any field of the date record can absent. Absent field correspondent to
current value (of the execution moment). For example: date .MM. will
be interpreted as every day of MM month every year; date DD..YY
will be interpreted as DD day every months of YY year.
Value of the year will be interprete using following rules:
- empty (no digits) = current year;
- less than three digits = value + "zero" year for current century (1900 for
19xx, 2000 for 20xx, etc.);
- three and more digits = value without changes.
Section headers can be combined in once line. Sample:
[mn][fr][20]. In this case it is exceeded one
section on all defined day points. For the sample commands
of the section will be executed on every Monday, every Friday
and on 20th of every month.
There are two special sections: op and mu.
it contains
options
and user's menu.
This sections will be interpreted with special way and
must contains commands in special format and comments.
There are any number of same sections in the schedule.
It is allowed to use in-line
comments and divided
sections names.
...next