12-12-2012
Send information about disk occupation periodically by email
Hi,
I want to make a shell script that gives me the information about the disk occupation by sending me an email once in a month for example.
With this command df|tr -s " "|cut -d" " -f 1,5 I can see the occupation but I dont know how to make the machine to send me the email with this information.
Can someone help me please?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi
A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as
" usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Discussion started by: Vetrivela
2 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
How do I send an email using malix where email address contains a #.
I have a email address like this : #test@test.com
I want to send email like malix -s "TEST" #test@test.com < SOMEFILE
I tried \# but doesn't work. Please let me know how we can achieve this?
I am in... (1 Reply)
Discussion started by: jingi1234
1 Replies
3. Shell Programming and Scripting
Hi Guys
I am looking for a python / PERL script which will send me email when ever my disk becomes more than 90% full.
By the way my OS is Win XP.
If anybody have already has written same type of script or something very similar kind of script, that will also be very helpful.
Thanks... (1 Reply)
Discussion started by: csaha
1 Replies
4. Shell Programming and Scripting
Hi, I'm wondering if there's a way to send a command periodically to remote server through a script.
Right now I have this:
keepLooping=1
ssh user@domain
while (( keepLooping == 1 ))
do
echo a
sleep 3
done
but what this does is ssh to the server, and only when the connection is... (2 Replies)
Discussion started by: sayeo
2 Replies
5. Solaris
Hello everyone
I have a problem and I need your help:
I have a Solaris 10 and Solaris 8 UNIX Servers, and Linux Centos4 as email server.
I need send an email from Solaris servers preferably using Centos4 email server.
I have no mail service configured in my Solaris computers (1 Reply)
Discussion started by: aflores
1 Replies
6. Shell Programming and Scripting
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies
7. UNIX for Dummies Questions & Answers
hi, i'm running openldap on ubuntu 10.04, creating new items with apache directory studio (windows version).
i use the ldap just as an address book to our small office (email clients are windows live mail 2009, 2011, microsoft outlook 2007 and 2010).
a. i cant see a list of the contacts,... (0 Replies)
Discussion started by: V4705
0 Replies
8. Shell Programming and Scripting
Hi Guys,
Is there any way I can write a script that sends DISK SPACE USAGE STATUS via email once a week?
Thanks, (5 Replies)
Discussion started by: g4v1n
5 Replies
9. UNIX and Linux Applications
Hello.
I have an OpenWrt router forwarding traffic from a network to another and I'm building a monitoring tool that requires information about the packet queue/ ring buffer (in the receiving side/interface - rx) occupation, alerting me when it is close to its maximum capacity.
However, after... (1 Reply)
Discussion started by: i_mll
1 Replies
LEARN ABOUT SUSE
mailto.conf
mailto.conf(5) Apple Inc. mailto.conf(5)
NAME
mailto.conf - configuration file for cups email notifier
DESCRIPTION
The mailto.conf file defines the local mail server and email notification preferences for CUPS.
Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character.
DIRECTIVES
Cc cc-address@domain.com
Specifies an additional recipient for all email notifications.
From from-address@domain.com
Specifies the sender of email notifications.
Sendmail sendmail command and options
Specifies the sendmail command to use when sending email notifications. Only one Sendmail or SMTPServer line may be present in the
mailto.conf file. If multiple lines are present, only the last one is used.
SMTPServer servername
Specifies a SMTP server to send email notifications to. Only one Sendmail or SMTPServer line may be present in the mailto.conf file.
If multiple lines are present, only the last one is used.
Subject subject-prefix
Specifies a prefix string for the subject line of an email notification.
SEE ALSO
classes.conf(5), cupsd(8), cupsd.conf(5), mime.convs(5), mime.types(5), printers.conf(5),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2009 by Apple Inc.
12 July 2006 CUPS mailto.conf(5)