LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-18-2005, 04:37 PM   #1
ivj
Member
 
Registered: Jul 2004
Posts: 61

Rep: Reputation: 15
Does cron have a log I can read?


I remember when I used to run sendmail or qmail, every time daily/weekly/monthly cron ran - it sent me an email with a log of what output it had.

Now I installed JAMES (THE best mail server out there), but it doesn't come with a "sendmail" substitute, which I believe cron uses... So now I don't get any logs, and i have no idea why one of my cron tasks is failing (it runs fine when I run it manually, but it doesn't seem to be ran by cron).

Is there any place where cron stores its logs? I checked /var/log and it had logs of when cron was launched, but no actual output logs...

So my question is - where can I find those logs (if they exist)

and is there any program that can be used as a substitute for sendmail?

thanks!
 
Old 08-18-2005, 05:22 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by ivj
and is there any program that can be used as a substitute for sendmail?
How many do you want? :}

There's postfix. exim, qmail, ...

As far as cron log/mail goes. That's a question of how you
set cron up. Normal behaviour is that if you're not using
a redirect it will mail you the results.


Cheers,
Tink
 
Old 08-18-2005, 06:23 PM   #3
ivj
Member
 
Registered: Jul 2004
Posts: 61

Original Poster
Rep: Reputation: 15
When I meant substitute for sendmail, I didn't mean the SMTP server, just the program "sendmail" that many programs on Linux use to send email.

I'm using JAMES to run my SMTP server and I need a command line program called sendmail that will send whatever text to my localhost:smtp.

As for setting up cron - how do you set it up? Is there any docs?
 
  


Reply



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
cron log empty plisken Slackware 2 11-17-2004 09:00 AM
Cron Log filling up barnzenen AIX 3 10-09-2004 06:04 PM
Can't get Cron to log anything t3___ Linux - Newbie 3 05-19-2004 10:14 AM
dual entries in cron log for cron.daily cpharvey Linux - General 3 02-27-2003 02:30 PM
/var/log/cron question Llwyd Linux - General 1 12-12-2002 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:39 AM.

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