|   | 24 |  | 
          
          
            |   | 25 | === Approved Reservations ===  | 
          
          
            |   | 26 |  | 
          
          
            |   | 27 | script location: | 
          
          
            |   | 28 |  | 
          
          
            |   | 29 | external1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_autoapprover/scripts | 
          
          
            |   | 30 |  | 
          
          
            |   | 31 | run: | 
          
          
            |   | 32 | export GEM_PATH=/usr/share/omf-common-5.4/gems:/usr/share/omf-aggmgr-5.4/gems | 
          
          
            |   | 33 | ruby -I/usr/share/omf-common-5.4 -I/usr/share/omf-aggmgr-5.4 addApprovedReservations.rb | 
          
          
            |   | 34 |  | 
          
          
            |   | 35 | with parameters (help printout): | 
          
          
            |   | 36 |  | 
          
          
            |   | 37 | Usage: addApprovedReservations.rb -d date -t hour -n days | 
          
          
            |   | 38 |     -d, --date DATE                  Date to start create approve reservation in format dd/mm/yyyy | 
          
          
            |   | 39 |     -t, --hour HOUR                  Hour when starts first of 12 consecutive 2 hours reservations | 
          
          
            |   | 40 |     -r, --days DAYS                  Number of days to repeat reservations | 
          
          
            |   | 41 |     -h, --help                       Show this usage message and quit. | 
          
          
            |   | 42 |  | 
          
          
            |   | 43 | EXAMPLES: | 
          
          
            |   | 44 | {{{ | 
          
          
            |   | 45 | addApprovedReservations.rb -d 5/26/2014 -t 15 -r 4  | 
          
          
            |   | 46 | }}} |