| 1 | === Blackouts === |
| 2 | |
| 3 | script location: |
| 4 | |
| 5 | external1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_autoapprover/scripts |
| 6 | |
| 7 | run: |
| 8 | GEM_PATH=/usr/share/omf-common-5.4/gems:/usr/share/omf-aggmgr-5.4/gems |
| 9 | ruby -I/usr/share/omf-common-5.4 -I/usr/share/omf-aggmgr-5.4 addBlackouts.rb |
| 10 | |
| 11 | za paremtrima (ovaj help se dobije kada se gornja naredba izvrsi bez |
| 12 | parametara): |
| 13 | |
| 14 | Usage: addBlackouts.rb -d date -t hour -w weeks |
| 15 | -d, --date DATE Date to start creating blackouts |
| 16 | in format dd/mm/yyyy |
| 17 | -t, --hour HOUR Hour when starts 2 hours of blackout |
| 18 | -w, --week WEEK Number of weeks to repeat blackout |
| 19 | -h, --help Show this usage message and quit. |
| 20 | |
| 21 | EXAMPLES: |
| 22 | addBlackouts.rb -d 26/5/2014 -t 15 -w 4 |