• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Getting an email from Cron Daemon each hour

G

gdimarco

Guest
Since yesterday I started getting this email each hour.

Any ideas on how to fix it?

OS: Fedora Core 4
Plesk 8

From: Cron Daemon [mailto:root@Ipcnetworks.com]
Sent: Friday, June 23, 2006 8:31 AM
To: root@Ipcnetworks.com
Subject: Cron <root@localhost> run-parts /etc/cron.hourly

/etc/cron.hourly/sendmail:

sendmail: illegal option -- q
sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [ arg ... ]
 
I am having the same issue. Is there a fix for this, or Is there anything wrong with disabling this script; i.e. - what is the sendmail -q command intended to do, how should the command be properly issued, and what are the consequences of it not working as intended?

Thanks,

Barry
 
plesk uses qmail,not send mail you don't need that script...
 
True, but the real question is: since this just started, did they recently do some update/upgrade which inserted that script into their crontab? If so, then what is the cause?

For any who are curious, Plesk does use Qmail, which provides a 'sendmail' wrapper so things like php scripts can still call the 'sendmail' program, but in reality is running Qmail. The -q option for sendmail would try and force the mail queue to attempt immediate delivery of queued messages.

I'm curious to see what update may be responsible for suddenly inserting a crontab entry...
 
I would also like an explanation of this hourly mail.cron and a fix if its not needed.

Has anyone made any progress with this?
 
Add me to the list. Can't figure this one out. Can I just disable the hourly cron task?
 
Anyone found another solution to this? I'm on Plesk 8.1.1, fedora os4. Still getting these emails every hour. Above solution has not worked.
 
may I ask how to disable it? Is this something that can be done in plesk?
 
I never found a way of disabling them, but when I moved from a Fedora 4 system to a CentOS they stopped. Dont know if that helps someone out there to figure out why its happening.
 
By default cron jobs sends a email to the user account executing the cronjob. If this is not needed put the following command At the end of the cron job line .

>/dev/null 2>&1

Look at (6. Disable Email):
http://www.adminschoice.com/docs/crontab.htm

This is the solution, not sure why you are still posting asking for help! Thanks Slavko!

FYI, if you don't know how to do this:

1. Download Putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
2. Connect via SSH to your server
3. Type: crontab -e
4. Add the command to dump the result instead of email it (1,16,31,46 * * * * /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1)
5. Repeat for each line that doesn't need an email notification

Thanks again Slavko!


Cheers
 
Back
Top