Version 1 (modified by 9 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
za paremtrima (ovaj help se dobije kada se gornja naredba izvrsi bez parametara):
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