eHealth Service Packs are available for download at: Service Pack and Product Downloads. Please review the README file for each Service Pack prior to installing. CA recommends that users always keep eHealth current by installing the latest Service Pack available.
In previous versions of eHealth 5.7 and prior the nhMail syntax for multiple recipients was with double quotes i.e. nhMail "email_address1 email_address2" in version 6 the syntax has changed to single quotes ' i.e nhMail 'email_address1 email_address2' after the upgrade old jobs fail, due to the double quotes, when trying to replace them with single quotes, it doesn't change and the double quotes remain in the command, also when you define a new job you still get double quotes so the job fails with bad arguments.
To try and demonstrate here is what the job looks like when you run a nhSchedule -list - full
$NH_HOME/bin/nhReport -scheduled -rptType trend -rptName Standard -subjType element -elemType lanIf -subjName 1413840 -uiNamesType aliases -autoRange prev24Hours -vars "bitsIn, bitsOut" -protocols all -divBy time -namesType aliases -chartType line -chartOpts standard -gran asIs -outputDir $(NH_HOME)/output/$(_reportType)/ -pdf $(SUBJECT)_$(DATE)_$(TIME).pdf -after "nhMail "[email protected] [email protected]""
Please notice the double quotes replaced the single quote in the nhMail command above.
- When the job runs the log file shows the error.
Unknown argument [email protected]
This fails because the argument -after finished on a " which means that the email addresses are being looked at as arguments for nhReport.
This job was setup in the Motif GUI with run command checked and command nhMail '[email protected] [email protected]' but doesn't translate to the command correctly and the single quotes are replace by double quotes.
.