Scripts
LeasePak Documentation Suite NETSOL website
mPower End of Period Suite

mPower End of Period Suite

Scripts

eop_run

  • Launches EOP on a list of portfolios contained in the config file (see eop_run Configuration File for more information)
  • Restarts EOP on a single portfolio
  • Restarts portfolio_mon on a single portfolio

eop_launch.pl

  • Launched by eop_run each time an EOP is submitted for a portfolio
  • Submits EOP for a list of portfolios contained in the config file (see eop_run Configuration File for more information)
  • Calls submitEOP API with required parameters to submit eop same as in U0401

eop_restart.pl

  • Called by eop_run to obtain the current EOP status of the portfolio and to resubmit a halted or failed portfolio
  • Restarts EOP on a halted or failed portfolio
  • Calls resubmitEOP API with required parameters for a halted or failed portfolio to resubmit eop same as in U0404

portfolio_mon

  • Launched by eop_run each time an EOP is submitted for a portfolio, each time an EOP is restarted for a portfolio, and each time eop_run is invoked with the -m argument
  • Iteratively polls the mPower API for status on EOP jobs for a given portfolio; based on the status it may or may not continue monitoring, likewise, it may or may not send email, and it may or may not warn of a stalled condition (see EOP Statuses for more information)

portfolio_stat.pl

  • Called by portfolio_mon to obtain the current mPower API EOP status of the portfolio

eop_run.cfg