wiki:Internal/Blackout

Version 3 (modified by seskar, 8 years ago) ( diff )

Blackouts

script location:

external1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_autoapprover/scripts

run: GEM_PATH=/usr/share/omf-common-5.4/gems:/usr/share/omf-aggmgr-5.4/gems ruby -I/usr/share/omf-common-5.4 -I/usr/share/omf-aggmgr-5.4 addBlackouts.rb

with parameters (help printout):

Usage: addBlackouts.rb -d date -t hour -w weeks

-d, —date DATE Date to start creating blackouts

in format dd/mm/yyyy

-t, —hour HOUR Hour when starts 2 hours of blackout -w, —week WEEK Number of weeks to repeat blackout -h, —help Show this usage message and quit.

EXAMPLES:

addBlackouts.rb -d 26/5/2014 -t 15 -w 4
Note: See TracWiki for help on using the wiki.