Quantcast
Channel: ADSM.ORG
Viewing all articles
Browse latest Browse all 2470

Send e-mail script

$
0
0
Hi guys,

In my job, i monitor the TSM of several other companies;

So, i creat a TSM Script and scheduled it to run every day using the 'crontab -e' and generate one .txt file in one chose dir.

### dsmadmc -id=xxx -password=xxx "run my_script" \> /tmp/file`date +%d.%m.%Y`.txt

My question is?

There is a way to send that .txt file to my e-mail :confused:???

In some searchs i ready about sendmail, but my e-mail is not configured in the SMTP from any of my clients, is possible to create an script and schedule him with a crontab to send this report to me?

Viewing all articles
Browse latest Browse all 2470

Trending Articles