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 03-07-2011, 10:32 PM   #1
bagavathe
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
Where to find crontab log?


Hi Geeks,

I have scheduled a shell in crontab which is running a java program. For having track of that program i have place System.out.println() in my java program. When i ran that shell manually i can able to get the system out message in console, where to find those System.out.println() message of that shell which i have scheduled in the crontab?


Thanks in advance,
Eswar.
 
Old 03-07-2011, 10:47 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You must redirect it or output direct to a file.
You can try the mail folder of the cron owner or root as well; try the 'mailx' cmd.
 
  


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
crontab log does not exist sridhar_dct3 Programming 6 09-19-2011 03:56 AM
Crontab log Tekken Linux - Server 1 04-27-2010 09:34 AM
Strange output log of crontab kuangchen Linux - Newbie 1 05-30-2008 04:13 AM
Crontab does not create log file montblanc Linux - Newbie 4 02-05-2008 08:59 AM
Help with crontab log error magyartoth Linux - General 5 12-21-2004 01:05 AM

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

All times are GMT -5. The time now is 07:18 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