[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Command rtoa

NAME

Command rtoa :: Ref Task Operation add

SYNOPSIS

rtoa RefName TaskName operator type [data]

DESCRIPTION

The rtoa function is used to add a new rule operation to a task. The parameters are the referential name, the task name, an operator, a type of operation and optionaly some datas.

Six operators are available : `add', `add_from', `add_until', `remove', `remove_from', `remove_until', `shift_before' and `shift_after'.

The `shift_after' operator is used to move a selection. One or more ranges of days are selected by the shift_after operation. If a day was selected by previous operations of the rule and is in a range selected by the shift_after operation, then the day is moved at the end of the range.

The `shift_before' operator is used to move a selection. One or more ranges of days are selected by the shift_before operation. If a day was selected by previous operations of the rule and is in a range selected by the shift_before operation, then the day is moved at the begining of the range.

The type of operations are : `day_of_week', `day_of_month', `day_of_year', `week_of_year', `month_of_year', `day', `date', `always', `rule', `if_equal' and `if_not_equal'.

ACCESS CONTROL

This function requires the `admin' privilege for the `referential' command family.

SEE ALSO


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by dom on September, 11 2005 using texi2html