Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-30-2003, 09:59 AM   #1
Registered: Apr 2003
Location: Brissle, England
Posts: 97

Rep: Reputation: 19
Wierd cron problem

Hi there,

I set up cron fine, and added the following to my user's crontab (cheers to acid_kewpie for telling me about it):

*/5 * * * * getmail

This worked fine, no problems.

I then added another user, and repeated this.

With this user, cron e-mails a sort of debug report for every-time it runs. It looks like:

getmail - POP3 mail retriever with reliable Maildir and command delivery.

getmail version 3.1.3 

Copyright (C) 2001 Charles Cazabon

Licensed under the GNU General Public License version 2.  See the file
COPYING for details.

Written by Charles Cazabon <getmail @>
getmail started for *************
  POP3 greeting:  +OK <>
  POP3 user response:  +OK 
  POP3 PASS response:  +OK 
  POP3 stat response:  0 messages, 0 octets
  POP3 list response:  +OK 
  finished retrieving messages
POP3 session completed for "************"
Retrieved 0 messages for 0 local recipients

getmail finished for ************
Now, I would think the only reason for it doing this is in case of an error, but I can see no error there!
Old 05-30-2003, 10:33 AM   #2
Registered: Apr 2003
Location: Brissle, England
Posts: 97

Original Poster
Rep: Reputation: 19
erg, sorted it. No worries
Old 05-30-2003, 10:33 AM   #3
Registered: May 2003
Location: Dallas, TX
Distribution: Slackware. (There are others?)
Posts: 46

Rep: Reputation: 16
looks more like a confirmation

What you posted looks more like a confirmation. If Cron did report an error I don't think it would e-mail the user (it would be in the syslog). When there is a message, is it retrieved? And if so do you still receive the "error/confirmation".
Old 05-30-2003, 12:06 PM   #4
Registered: Apr 2003
Location: Brissle, England
Posts: 97

Original Poster
Rep: Reputation: 19
Yeh, it was a confirmation.

Apparently, by default, cron sends all program output, by email, to the local user, unless you append something to the crontab. Why it didn't e-mail for the first user escapes me. However, adding this to the crontab fixed it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
really wierd problem mrchin Linux - Newbie 6 09-01-2004 04:33 PM
wierd problem Zerodark Slackware 2 10-31-2003 08:53 PM
wierd problem jt1020 Linux - General 2 05-19-2003 02:29 PM
wierd problem! jt1020 Linux - General 1 05-07-2003 11:29 AM
Wierd Internet problem Paul_assheton Linux - Networking 3 05-13-2002 04:45 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration