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

9.15.1 Manual deletion of exploitation days

To delete exploitation days, you just have to call the xdk command with the name of the exploitation day to delete.

An exploitation day can be delete at any time : if jobs of this exploitation day are running at this time, they'll continue their execution.

If you want to have a glimpse of the situation of a day before to delete it, you can use the etm and ejm commands with the name of the exploitation day. These commands prints the number of tasks or jobs which are running, waiting, terminated...

In this example, we'll create a referential with two tasks. We'll create an exploitation day from this referential and we'll delete this exploitation day.

First, we create a referential `ref1' with two tasks `t1' and `t2' :

 
$ dio87c ra ref1
$ dio87c rta ref1 t1
$ dio87c rtoa ref1 t1 add always
$
$ dio87c rtd ref1 t1 t2
$

We create two exploitation days with the rp command : one for today, and another for tomorrow.

 
$ dio87c rp ref1 "2005-01-24"
New day name : ref1_20050124
from referential : ref1
start time : 2005-01-24 00:00:00
[...]
Termination
$ dio87c rp ref1

New day name : ref1_20050125
from referential : ref1
start time : 2005-01-25 00:00:00
[...]
Termination

We print the exploitation day list with the xdl command and we print the state of tasks and jobs of `ref1_20050124' (etm and ejm commands) :

 
$ dio87c xdl
ref1_20050124
ref1_20050125
$ dio87c etm ref1_20050124
Total       2
Waiting     0
Holded      0
Running     0
Error       0
Cancel      0
Terminated  2
$
$ dio87c ejm ref1_20050124
Total       0
Waiting     0
Holded      0
Running     0
Error       0
Cancel      0
Terminated  0
$

You can see that the two tasks for `ref1_20050124' are terminated (`Terminated 2').

We can delete this exploitation day with the xdk command :

 
$ dio87c xdk ref1_20050124
$
$ dio87c xdl
ref1_20050125
$

The day log of `ref1_20050124' is always available :

 
$ dio87c ldl
ref1_20050124
ref1_20050125
$
$ dio87c ltel ref1_20050124
t1
t2
$
$ dio87c ltel ref1_20050124
2005-01-24 16:20:59    wait_for_dep	
2005-01-24 16:20:59    running	
2005-01-24 16:20:59    terminated	
$

To delete the day history, we must call the ldk with the name of the exploitation day to delete.

 
$ dio87c ldk ref1_20050124
$
$ dio87c ldl
ref1_20050125 
$


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

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