Previous Topic

Next Topic

Book Contents

Book Index

ctmcalc_date examples

The following are ctmcalc_date examples:

Issue the following command to display the calculated scheduling date that the prodyjob job in the Production folder will be ordered if its scheduling criteria are met, if two days are added to the original scheduling date of the job, August 02, 2016:

ctmcalc_date -FOLDER Production -NAME prodyjob -date 20160802 \
             -shift +2 -ONLY_WORKING_DAYS Y -OUTPUT_FORMAT DATE

20160804

As in the first example, displaying the calculated scheduling date and indicating if the job will be scheduled:

ctmcalc_date -FOLDER Production -NAME prodyjob -date 20160802 \
             -shift +2 -ONLY_WORKING_DAYS Y -OUTPUT_FORMAT EXTENDED

20160804 Y

As in the first example, indicating if the job will be scheduled without displaying the calculated scheduling date:

ctmcalc_date -FOLDER Production -MAME prodyjob -date 20160802 \
             -shift +2 -ONLY_WORKING_DAYS Y -OUTPUT_FORMAT FLAG

Y

Parent Topic

ctmcalc_date