LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2011, 02:03 AM   #1
manjunath.nm89
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
Cron syslog issue


I have written a custom cron. This cron executes a rake task every 5 minutes. I also log the trace of this execution in a file locally on my server. The whole process seems to execute seamlessly every 5 minutes, but then it seems to log it in /var/log/syslog. I investigated on the syslog and found that system's critical errors, and other cron issues are logged in syslog. Has anybody faced this kind of an issue ?
 
Old 09-29-2011, 07:57 PM   #2
rigor
Member
 
Registered: Sep 2003
Location: 19th moon ................. ................Planet Covid ................Another Galaxy;............. ................Not Yours
Posts: 705

Rep: Reputation: Disabled
Hi manjunath.nm89,

On the wide variety of Unix and "Unix-like" systems that exist, log files are structured in diverse ways. But in general, if the system is configured to have cron log it's activities, cron tends to do some basic logging of the tasks it runs. So in additional to your detailed/trace output, I'd expect cron to do some basic logging about the task you are having it run.

In your situation, you've described what's happening on your system, but NOT how you want things to work differently. What is that you want to happen differently that it is happening?
 
  


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
disable cron logs from php-syslog-ng harshaabba Linux - General 1 08-15-2010 11:50 AM
disable cron from logging to syslog akudewan Linux - General 6 07-07-2008 09:29 AM
Help With Syslog Issue adimenia Linux - Networking 1 05-30-2008 09:36 AM
logrotate, syslog-ng & cron hattori.hanzo Linux - Newbie 1 11-08-2006 12:08 PM
Syslog logging Cron logins rhoekstra Fedora 4 02-17-2005 02:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 PM.

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