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

Command rs

NAME

Command rs :: Ref Simulate

SYNOPSIS

rs [options] RefName Date

DESCRIPTION

The rs function is used simulate a day plan. The parameters are the ref name and a date (`YYYY-MM-DD'). The function prints the list of tasks which will be selected. The `-d' option can be used to print the task description.

Three options can be used to format output :

Two options can be used to print a part of the whole list :

EXAMPLE

In this example, a referential named `myref' is created with two tasks `task1' and `task2'. rtoa commands are used to force `task1' to be run every days and `task2' to be run every sunday.

The rs command is used to see which tasks should be selected if a day was created a saturday (`2004-02-21') and a sunday (`2004-02-22').

 
$ dio87d -d
$ dio87c ra myref
$
$ dio87c rta myref task1
$ dio87c rtoa myref task1 add always
$
$ dio87c rta myref task2
$ dio87c rtoa myref task2 add day_of_week 1
$
$ dio87c rs myref "2004-02-21"
task1
$
$ dio87c rs myref "2004-02-22"
task1
task2
$

ACCESS CONTROL

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

SEE ALSO


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

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