LinuxQuestions.org
Register a domain and help support LQ
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, 11: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, 11:47 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
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


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


All times are GMT -5. The time now is 08:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration