[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with cron jobs
- To: qmail@xxxxxxxxxxxxx
- Subject: Problem with cron jobs
- From: mozafar rowshan <mozafar_rowshan@xxxxxxxxx>
- Date: Wed, 05 Dec 2007 01:48:59 -0800 (PST)
- Delivered-to: de5-qmail@sws5.ornl.gov
- Delivered-to: mailing list qmail@list.cr.yp.to
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=MZtPtz9aRK+R4psSQMX34ucptsmhXEgc/pZ6ZmYnJp85RldQ8DamUGdrXZtsfqTu+HrN5XRcKPmXnPyve7JZT3EoOeTCUpUH7Rbrnx9ci6QriFhgYG36CYwRPk1YAp1pJ2pVH3HPbuHiMwYVyGCOI8h68xVuQ7EbPWTA6PMnuVE=;
- Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
- Reply-to: mozafar_rowshan@xxxxxxxxx
Hi friends.
I checked my cron jobs after installing qmail (netqmail version) and created a sample job in the /var/spool/crond/root (and also /etc/crontab) file:
* * * * * echo "message from crond"
after that, my cron log file told the following message (every minute):
Dec 5 12:19:01 cp crond[5404]: (root) CMD (echo "message from crond")
Dec 5 12:19:01 cp crond[5403]: (root) MAIL (mailed NN bytes of output but got status 0x006f )
I should mention that I've created symlinks to the /var/qmail/bin/sendmail binary in the /usr/bin/, /usr/sbin/ and /usr/lib/ dirs. Also, my root mails received by other user through qmail aliases...
My OS is CentOS 5.
Thank you for your help.
Never miss a thing. Make Yahoo your homepage.