Code updates:

The code is updated to support command prompt options to change the internal behaviour of the progam. The options are given below.

-file

It will ask for file path which consists of the names, path to progress report (activity), and user name. The default value of this option is "/u/sf/netweek/filelist".

-home

It correspond to the directory of archived files. The home path of the project where to do the archiving. By default the path is set to "/us/sf/netweek".

-mail-list

The list of emails separated by comma(,) to forward the weekly report. e.g. mak@slac.stanford.edu,cottrell@slac.stanford.edu. The default value is set to "net-week".

-stable-age

The time in no. of days to check for the active file last update. 

-no_archive

The boolean value which is set whether the archiving is required by the script or not. If no_archive is set, then the script will not arvive individual reports. The default value will archive the reports.

-help

It will print the help on the console.

 Example

For example, if you want to send the iepm weekly report to cottrell and mak with no archiving. You should run the command like this

 ./net-weekly.pl -file path/to/iepmMemberNamesList -mail-list mak,cottrell -no_archive
  • No labels