9 Mar
2006
9 Mar
'06
3:52 p.m.
Lardinois, Pierre a écrit :
Hello,
Is it possible to schedule disable a host with the bb command-line ? If so, what is the syntax to use ?
Thank you very much.
Hi Pierre
here's how to do it :
MY_DATE=date +%s --date=tomorrow
$BB localhost "schedule $MY_DATE disable $MY_HOST.$MY_TEST $MY_DURATION $MY_REASON"
GNU date is required IMO for the "--date=" flag.
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis