Changes between Version 3 and Version 4 of Internal/Blackout


Ignore:
Timestamp:
Dec 31, 2017, 8:10:11 PM (7 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/Blackout

    v3 v4  
    66
    77run:
    8 GEM_PATH=/usr/share/omf-common-5.4/gems:/usr/share/omf-aggmgr-5.4/gems
     8export GEM_PATH=/usr/share/omf-common-5.4/gems:/usr/share/omf-aggmgr-5.4/gems
    99ruby -I/usr/share/omf-common-5.4 -I/usr/share/omf-aggmgr-5.4 addBlackouts.rb
    1010
    11 with parameters (help printout):
     11with parameters:
    1212
    1313Usage: addBlackouts.rb -d date -t hour -w weeks
     
    2020EXAMPLES:
    2121{{{
    22 addBlackouts.rb -d 26/5/2014 -t 15 -w 4
     22addBlackouts.rb -d 5/25/2014 -t 15 -w 4
    2323}}}
     24
     25=== Approved Reservations ===
     26
     27script location:
     28
     29external1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_autoapprover/scripts
     30
     31run:
     32export GEM_PATH=/usr/share/omf-common-5.4/gems:/usr/share/omf-aggmgr-5.4/gems
     33ruby -I/usr/share/omf-common-5.4 -I/usr/share/omf-aggmgr-5.4 addApprovedReservations.rb
     34
     35with parameters (help printout):
     36
     37Usage: 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
     43EXAMPLES:
     44{{{
     45addApprovedReservations.rb -d 5/26/2014 -t 15 -r 4
     46}}}