Software :: Unable To Disable Cron Email
Jun 16, 2011
I have tried the MAILTO="" and adding >/dev/null 2>&1 to the end of the line, but my server is still sending an email about my cron.weekly script. After making changes to /etc/crontab I restart cron with /etc/init.d/cron restart without error. I have also tried crontab -e but that loads up an empty file (su'ed into root). What step am I missing / what am I doing wrong? Here's my crontab:
[Code]....
View 3 Replies
ADVERTISEMENT
Apr 29, 2011
Can anyone tell me how i change the default domain name for cron?everything i cron runs it emails from and to user@com.com
this leaves me with a massive list of failed mails in postfix.i have mailto on my main crontab but i cant do it on all of them.
View 1 Replies
View Related
May 28, 2010
Using CentOS. I have a cron setup to run this command: Code: /var/test.sh | mail -s "Test Cron" mr182@somewhere.com The email is sent but the output of the script is not in the email body, it's just blank. I know there is some output because there are some echo statements in the script.I don't want to get an email for all cronjobs, just this one.
View 1 Replies
View Related
Jun 29, 2011
I have some scripts that do usual stuff like backing up MySql database, gz, tar some files and put them on FTP or sync with some other backup/mirror system. Some scripts are running quite frequently (like twice/thrice per hour). I am sending email with attached log output from commands after completion of job. It is quite a lot of email to keep track of.I want to send email only when script fails to do something, that is when some command in script fails. How can I accomplish this?
View 2 Replies
View Related
Sep 20, 2010
I am running a Cron job which mails the content of a log report every day. The problem is that the contents are sent as an attachment instead of as the body of the email. The strange thing is that if I run the instructions from the command line everything works fine, but if I do so from the Cron job the log report is attached instead of being sent inline.
The instruction I use is:
Code:
mail -s "logfile for cron" cron@example.com </var/log/cron-log
Following some advice I read on a blog I also tried this instruction in my Cron file, but the result is the same: it works fine from the command line, but attaches the report when run from Cron:
Code:
echo "Content-Type: text/plain;" | mail -s "logfile for cron" cron@example.com </var/log/cron-log
How to ensure the content of the log file is inline?
View 11 Replies
View Related
Jan 4, 2011
A user will be ftping some files to an upload directory. I need to move those files to another directory. I also need to mail a list of the just moved files to the user. This job will need to run every 10 minutes. I need to keep a log that holds all the files for the day that were moved, renaming it with the date/timestamp.I have this below but I just can't put it all together. a workable script out of this?
#!/bin/bash
# test.shl
source="/u03/upload/"
[code]...
View 5 Replies
View Related
Jul 5, 2011
I have installed CPAN module Spreadsheet::WriteExcel, to generate some reports. Now when i execute my perl module from command line. it works fine and generates the excel file. When i put this module to be executed via cron, it doenst work and an email is generated. My entry in cron tab is as follows:2 14 * * * perl /scripts/postpaidRecon/postpaid.plThe email i receive in /var/spool/mail/root for module failure is:
Subject: Cron <root@kblhpw101> perl /scripts/postpaidRecon/postpaid.pl
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
[code]....
View 3 Replies
View Related
Aug 9, 2010
i installed php-syslog-ng 2.9.8m in RHEL5 box. I saw logs from the local machine once the cron execute in every one minute.I dont need to appear those in my syslog console. I want to disable these from my linux box.How can i archive this
View 1 Replies
View Related
Mar 9, 2011
I want to disable bubble notifications for new emails (but I still want indicator applet to change color when email arrives). Those notifications distracts me a lot, so I want remove them.
Is it possible? I was only able to disable the evolution notification at all, but that is not exactly what I want.
View 6 Replies
View Related
Dec 19, 2010
How could I disable this annoying feature?
Half the time it selects the wrong address and sometimes I miss it and send emails to wrong people.
View 1 Replies
View Related
Sep 12, 2009
how to enable and disable these services: FTP,Email,Web server,Firewall,Telnet,LAN? Is there any general way to manage services?
View 1 Replies
View Related
Mar 9, 2011
Is it possible to shutdown or to halt by means of cron ? this crontab entry is doing nothing: 45 3 * * * halt
View 2 Replies
View Related
Jan 6, 2010
I have a file server that is an NIS client. User home directories are auto-mounted from another server. Users are not able to run cron jobs. The /var/log/cron logs says:
Jan 6 14:33:01 inclination crond[3217]: (username) ORPHAN (no passwd entry)
I tried adding an entry in /etc/passwd, /etc/group, and /etc/shadow but the test script I have still doesn't seem to run although cron thinks it did. The log entry for these attempts looks like:
Jan 6 15:30:01 inclination crond[4312]: (username) CMD (/home/username/test-script)
Now root does seem to be able to run cron jobs with no problem. My test script works fine from cron when runs as root. I suspect there's an issue with how I have NIS configured but I can't find any info. The test script runs fine from the command line when logged in as myself.
View 2 Replies
View Related
Apr 16, 2011
I have Compaq Presario CQ62-215DX notebook (laptop) computer with built in image of Windows 7. I use partitioning tool to create partition of 250GB hard drive. I created these partitions as NTFS partition. My issue is after creating partition of 75GB whereby I want to install Ubuntu using ubuntu-10.10-desktop-i386.iso file from dvd drive; I cant install.
I use ext4 file system to install ubuntu and mountpoint is root After user setup it stops at this point:
UBUNTU CRON [9354]: (root) CMD (cd/run-patsreport/etc/cron.hourly)
It doesnt install ubuntu on separate partition. how to install ubuntu on separate logical partition? Windows 7 is in primary partition.
View 1 Replies
View Related
Jan 29, 2011
I have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).
The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.
The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.
I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)
View 3 Replies
View Related
Feb 25, 2010
It seems that cron is not upgrading my Ubuntu 8.04 LTS Server, no GUI installed. I changed /etc/crontab and watched apt running:
Code:
ps -A | grep apt
showed it for a long time,
Code:
sudo tcpdump tcp
showed communication with canonical sites,
but:
Code:
top
did not show any apt using CPU
[code].....
View 2 Replies
View Related
Sep 19, 2010
I put in my cron entries to run my backup script which rsyncs my data to my 2nd drive, however on a hunch I checked my backup drive which mounts automatically via fstab and I realize it had not ran in a while. I checked cron and there were no entries for it. I got to wondering if I should ever be worried about a cron update coming down and over-writing my existing cron file with the backup entries in it to run.
View 2 Replies
View Related
Feb 16, 2010
I have set up a cron in /var/spool/cron/root
*/15 * * * * /usr/bin/phplist.sh
I can see in /var/log/cron that it is running every 15 minutes but it has no effect. It is not doing the commands in the bash script.
If I run /usr/bin/phplist.sh right in the shell it works great.
View 3 Replies
View Related
May 8, 2010
I just upgraded to 10.04 from 9.10. Everything seemed to go well and it looks like everything transfered over fine except my email stuff. I was using Evolution with 9.10, but it looks like none of that is on 10.04. Not too worried about the program itself, but I would like to have kept my contacts info and a few of the emails from the last couple of days.
View 1 Replies
View Related
Jun 25, 2010
I'm running GNOME under Lucid on a 64-bit machine. Here's the background: Yesterday, I tried to delete a subfolder of my Local Folders directory. Right-clicking on the subfolder offered the usual menu of options including "Delete", but selecting "Delete" left the folder in place. In floundering around trying things to solve the problem, I tried opening Thunderbird from the command line, using "sudo thunderbird", following which I succeeded in deleting the recalcitrant subfolder. Here's the first stage in the problem:
But when I next opened Thunderbird in ordinary mode (i.e., as "ron" not as "superuser"), I discovered that the Inbox was no longer accessible. Clicking on "Get Mail" yielded only a small wheel-icon that spins, presumably showing activity in progress, without actually finishing by getting mail. The other various folders seemed to operate normally, in that they showed their contents when clicked on.
[Code]....
View 4 Replies
View Related
Feb 9, 2011
Is my vixie-cron broken? i have "0-59 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" but it is not running in /etc/cron.d.
Code:
View 2 Replies
View Related
Aug 16, 2010
Just installed Ubuntu 10.04 on my Acer laptop last night. I wasn't able to surf the net at first but after searching these forums, managed to get it right (changed setting in firefox). I was able to use update manager and the software program ok (downloading and installing). I am using a adsl via wifi. Networked pcs and my NAS/samba work fine
My current problem is that while I can surf the net and download updates etc, I can't seem to get email and chat working, it just gives a timeout error for some reason.
View 5 Replies
View Related
Nov 6, 2010
My Evolution email client is able to send only smal messages. As soon as the email message is more than approx. 20 lines, sending is blocked. The status line displays "Sending message (0% complete)" for a few minutes and then it displays "Error while sending message." Receiving of email messages works fine.
I am using Ubuntu 10.04 with Evolution 2.28.3
View 2 Replies
View Related
May 28, 2011
I have configured the postix email server in Centos. Its working fine with Squirrel mail client. But If I configured in microsoft Outlook. it is working. with this post I have attached the error message. Please let me know solution.I am getting this error message while I check the SMTP authentication in outgoing server tab on outlook account setting configuration.If I send any email It will bounce and came to to inbox
View 1 Replies
View Related
Oct 30, 2010
I am running Ubuntu 8.04 and evolution as mail client this is the error i receive in evolution on send & recive.I can receive mail but not send.Error while performing operation.
Welcome response error: Operation now in progress.
View 6 Replies
View Related
Oct 22, 2009
I've gotten myself involved in the Nagios monitoring tools and somewhat managed to configure the Nagios host, but I'm still having some issues with the email notifications.
From what I've read/researched, one of the favourite methods to get the email notification up is by using sendmail/postfix. I've went through it and learned that they are MTAs. What I actually needed is just a basic email client, and I would email the notices directly to an email address over the internet. Thus, I wont be needing something as complex like sendmail/postfix.
I gotten my hands on "Nail mail". I've successfully configured it to be able to send emails from my linux machine over the internet. However, when I copied the same command lines to nagios's contact.cfg, it did not work.
This is the command line that I'm using. Let me explain what I'm trying to achieve below. Firstly, I would save all the text notifications into a text file(green), and then email it out. The problem is NailMail command (red) does not work on Nagios,but the command line works in the terminal command on my Nagios account. Has anyone attempted using Nail mail with Nagios?
View 3 Replies
View Related
Sep 8, 2010
After a reboot of my VPS, I keep getting the following error when sending email to my domain (hosted on Google Email). I can send to other email addresses but my own. So it seems like postfix thinks all mydomain.co.nz is to be sent internally?
Sep 9 09:25:05 mydomain postfix/pickup[20784]: 0316C3CC68: uid=1000 from=<sidb>
Sep 9 09:25:05 mydomain postfix/cleanup[20806]: 0316C3CC68: message-id=<20100908212505.0316C3CC68@mydomain.co.nz>
Sep 9 09:25:05 mydomain postfix/qmgr[20783]: 0316C3CC68: from=<sidb@mydomain.co.nz>, size=326, nrcpt=1 (queue active)[code].....
How do I tell postfix that mydomain.co.nz is to be sent to Google email server?
View 2 Replies
View Related
Dec 31, 2014
I have a fresh install of Jessie and I am unable to disable gdm3. I issued:
Code: Select alluser@debian:~$ sudo systemctl disable gdm3.service
Synchronizing state for gdm3.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d gdm3 defaults
insserv: warning: current start runlevel(s) (empty) of script `gdm3' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `gdm3' overrides LSB defaults (0 1 6).
Executing /usr/sbin/update-rc.d gdm3 disable
insserv: warning: current start runlevel(s) (empty) of script `gdm3' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `gdm3' overrides LSB defaults (0 1 6).
Restart and still displays the Gnome 3 login manager.
View 4 Replies
View Related
Oct 30, 2015
I'm using Debian Jessie with nvidia, and i am unable to disable mouse acceleration.
I have tried using this config in xorg.conf.d but without success.
Code:
Select all Section "InputClass"
Identifier "Cooler Master Storm Havoc Mouse"
MatchIsPointer "yes"
Option "AccelerationProfile" "-1"
Option "AccelerationScheme" "none"
EndSection
In the xorg log it seems as if the devices are incorrectly recognized
Code:
Select all[ 6.786] (II) config/udev: Adding input device Cooler Master Storm Havoc Mouse (/dev/input/event9)
[ 6.786] (**) Cooler Master Storm Havoc Mouse: Applying InputClass "evdev keyboard catchall"
[ 6.786] (II) Using input driver 'evdev' for 'Cooler Master Storm Havoc Mouse'
[ 6.786] (**) Cooler Master Storm Havoc Mouse: always reports core events
[ 6.786] (**) evdev: Cooler Master Storm Havoc Mouse: Device: "/dev/input/event9"
[ 6.786] (--) evdev: Cooler Master Storm Havoc Mouse: Vendor 0x2516 Product 0x1d
[ 6.786] (--) evdev: Cooler Master Storm Havoc Mouse: Found 1 mouse buttons
[Code] ....
Here it seems as if the mouse is recognized twice, once as a mouse and once as a keyboard, where it says "Cooler Master Storm Havoc Mouse: (accel) keeping acceleration scheme 1" so I'm wondering if this is what causing the problem with mouse acceleration not working.
However my USB headset also seems to be recognized as a keyboard in the xorg log, but it works just fine. In xinput list and xfce mouse settings, the mouse is listed twice and even the keyboard is listed as a mouse.
Code:
Select allVirtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Cooler Master Storm Havoc Mouse id=9 [slave pointer (2)]
⎜ ↳ Cooler Master Storm Havoc Mouse id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Keyboard id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
[Code] ....
in dmesg, the mouse is also listed twice, once as a mouse and once as a keyboard
Code:
Select all[ 5.891478] input: Cooler Master Storm Havoc Mouse as /devices/pci0000:00/0000:00:1d.2/usb6/6-1/6-1:1.0/0003:2516:001D.0002/input/input11
[ 5.891586] hid-generic 0003:2516:001D.0002: input,hidraw1: USB HID v1.11 Mouse [Cooler Master Storm Havoc Mouse] on usb-0000:00:1d.2-1/input0
[ 5.896154] input: Cooler Master Storm Havoc Mouse as /devices/pci0000:00/0000:00:1d.2/usb6/6-1/6-1:1.1/0003:2516:001D.0003/input/input12
[ 5.896236] hid-generic 0003:2516:001D.0003: input,hiddev0,hidraw2: USB HID v1.11 Keyboard [Cooler Master Storm Havoc Mouse] on usb-0000:00:1d.2-1/input1
View 2 Replies
View Related
Jan 6, 2010
I want to disable display power management.
I tried to achieve this by disabling 'Enable display power management' checkbox in the 'Configure Desktop -> Display -> Power Control' KDE configuration dialog. That didn`t help and display still goes into standby mode after some period of inactivity. Also, I tried to disable dpms functionality by calling 'xset -dpms'. That didn`t help too. Note that 'xset dpms force standby'
View 9 Replies
View Related