on 12-16-2010 6:57 AM
HI Team
We have requirement to send a mail for sm69 command resultai
ex: df -g , result should sent to mail daily.
Please help me to fullfull the requirement.
Regards
If you want to do it from unix try something like so.....
Add this to the users cron table and it will email a "df -g" everyday at midnight to your-email-address with the subject line containg the host' name and the df output in the message. It will come for the user whose cron you add it to
# Daily run
00 1 * * * df -g | mailx -s "DF in GB from `hostname`" your-email-address
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you are looking for a filesystem full alerts, why can't configure in CCMS (RZ20) and configure method auto reaction for the MTE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This may be a silly proposal, but let me try:
df -g obviously is a Unix command. and you want to receive the result by mail.
May I ask why you are going a long way round, using SAP and SM69?
I would simply call the command from a Unix cron job and send the mail by Unix mailx command.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.