[ILUG] Debian crontab

Gareth Eason bigbro at skynet.ie
Wed Aug 6 11:31:08 IST 2008


Brian O'Mahony wrote:
> I have a number of redhat and debian servers here. We sysc things between offices using the rsync command via cron jobs.
> 
> When instigated from the redhat boxes (3,4,4u6) it sends a mail to the user (root in all cases) and tells what went on.
> 
> When instigated from debian, it doesn't send any mails to the user. I imagine this is to do with crontab, but cant figure out where the issue is. I am however only doing this on one debian box. I have two others, but id rather not go messing with sync's while they are live....
> 
> Any ideas?
[snip]

	if there's output, cron will always (within certain tolerances) send an
e-mail. RedHat tends to have a more mature e-mail setup by default, likely
ensuring that e-mails are being sent onwards and thus are being seen by you.

	Have a look at your mail config for the local MTA of the Ubuntu boxes in
question. It sends root mail to the first user created, IIRC, but that could
be spooling in the user's local /var/spool/mail directory, rather than being
forwarded to where you expect to receive them.

	Hope this helps.

	Best regards,
	-->Gar



More information about the ILUG mailing list