HI
what i need to be able to do is add a email to the end of a rsync. my current ion configures writes a daily log to disk, but real want to send the log to a central email address.
The current script is as below, is this possible?
Thanks Treds
Moderator's Comments:
Please use code tags next time for your code and data.
Last edited by zaxxon; 08-08-2012 at 09:34 AM..
Reason: code tags
I have been a member for almost a year now. I have always recieved email notifications when I select "subcribe to this thread" at the bottom of posts that I reply to.
However, over the last month or so, I have not been recieving email notification of replys to posts I respond to.
I have... (6 Replies)
Hi.
I want to add email notification so when the my script finishes it sends out an email of the results to our team. If there are errors the subject on the email should say there were errors.
If any having idea/sample scripts pls share with me. (2 Replies)
Hey guys
Just need some help with crontab.Iam looking for a script that will alert particular user about its change through sendmail.We are using bash here.
--CoolKid (3 Replies)
I have two different cron jobs that run on the same days. The jobs are 7 hours apart. Both jobs are set to send notification emails when they start running.
Both jobs always run successfully, but I only receive an email from the first job. I never get the email from the second job.
... (1 Reply)
Hi,
I'm fairly new to Aix and am looking for some help on the following.
I have setup a cron job under root and want it to send the email once it's run to an external email address. I can get it to send the output in an email to me by using mail on the end of the crontab entry. But I would... (1 Reply)
Hello All,
1) I am trying to understand the shell script written already, below is the code in this code i am seeing a variable $EMAIL_ID which was not defined in entire script, neither it is passed as a parameter while executing shell script nor it is defined in .profile, could you please tell... (1 Reply)
dear all,
i have script rsync like this :
#!/bin/sh
RSYNC=/usr/bin/rsync
SSH=/usr/bin/ssh
RUSER=root
RHOST=123.123.123.1
INTRPATH=/home/jargo/log/internasional/
INTHPATH=/var/www/international/
IIXRPATH=/home/jargo/log/iix/
IIXHPATH=/var/www/iix/
TTLRPATH=/home/jargo/log/total/... (2 Replies)
Hi,
I am using spacewalk tool ( Linux systems management solution ). I have configured probe notification and notification method in spacewalk.
But I am not getting the notification mail.
Checked the /var/log/maillog and the error message as follows,
Dec 11 17:01:11 spserver... (2 Replies)
Hi All,
I need write a linux script which emails each record to the employee manager email-id which will be specified inside the file.
Each employee can have a different manager too..
file contain 200 to 300 records
Employee ID, Employee Name, Employee Email-ID, Manager, Manager... (4 Replies)
Hi,
I am getting error below when testing email. is there a way I can configure email on Solaris?
SunOS -s 5.10 Generic_147440-04 sun4u sparc SUNW,SPARC-Enterprise
echo "hello" | sendmail -v abcd
WARNING: local host name (-s) is not qualified; see cf/README: WHO AM I?
abcd... Connecting... (1 Reply)
Discussion started by: roshanbi
1 Replies
LEARN ABOUT DEBIAN
battery-stats
BATTERY-STATS(5) File Formats Manual BATTERY-STATS(5)NAME
battery-stats - collected battery statistics
DESCRIPTION
The battery-stats contains statistics about battery charge over time, as collected by the battery-stats-collector (8) daemon.
FORMAT
Each line in the file represents one sample and is of the form:
<seconds> <charge%> <powermode> <UTC-date> <UTC-time>
separated by spaces and terminated by a newline.
Where:
seconds
is the number of seconds since 1st Jan 1970 00:00:00 UTC
charge%
is the battery charge a number between 0 and 100
powermode
indicates the power mode:
0 A/C off
1 On battery
2 On backup power
UTC-date
a human-readable date in the format YYYY/MM/DD. Note that this is in UTC, not the local or system timezone.
UTC-time
a human-readable time in the format HH:MM:SS (using a 24-hour clock). Note that this is in UTC, not the local or system timezone.
minutes-left
is the BIOS estimate of how many minutes of running time the battery would provide. This may be unreliable, depending on the BIOS
through which it was collected.
EXAMPLE
A battery under charge might result in the following samples:
1032651245 27 1 2002/09/21 23:34:05 94
1032651275 28 1 2002/09/21 23:34:35 97
1032651305 29 1 2002/09/21 23:35:05 100
1032651335 30 1 2002/09/21 23:35:35 103
1032651365 30 1 2002/09/21 23:36:05 106
FILES
The default set-up is to save battery statistics in /var/log and rotate the logs weekly, which results in this set of files:
/var/log/battery-stats - current (most recent) statistics
/var/log/battery-stats.[0-9]+ - less recent statistics
/var/log/battery-stats.[0-9]+.gz - ancient statistics
SEE ALSO battery-graph(1), battery-stats-collector(8).
AUTHOR
Karl E. Jorgensen <karl@jorgensen.com>
September 23, 2002 BATTERY-STATS(5)