Unix/Linux Go Back    


Gentoo Gentoo Linux is a versatile and fast, completely free Linux distribution geared towards developers and network professionals.

Location log after process crontab

Gentoo


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 07-13-2006   -   Original Discussion by srilinux
srilinux's Unix or Linux Image
srilinux srilinux is offline
Registered User
 
Join Date: Jun 2006
Last Activity: 7 December 2010, 10:12 PM EST
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Location log after process crontab

Hi... I want to know directori location and file name (log) after
crontab has been running.. (linux disto gentoo and sun solaris)

Because for long time maybe contain this log file becomes large.

Thanks for your help.


regards,
srilinux
Sponsored Links
    #2  
Old Unix and Linux 07-16-2006   -   Original Discussion by srilinux
srilinux's Unix or Linux Image
srilinux srilinux is offline
Registered User
 
Join Date: Jun 2006
Last Activity: 7 December 2010, 10:12 PM EST
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
So...
No problem with these log from crontab...?
Sponsored Links
    #3  
Old Unix and Linux 07-22-2006   -   Original Discussion by srilinux
gautamatul82's Unix or Linux Image
gautamatul82 gautamatul82 is offline
Registered User
 
Join Date: Jun 2006
Last Activity: 27 July 2006, 1:07 AM EDT
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Sri....

If i'm not wrong then you want to know the location where the log file for crontab is stored and what is the exact file name....right????





--
Atul
    #4  
Old Unix and Linux 07-22-2006   -   Original Discussion by srilinux
gautamatul82's Unix or Linux Image
gautamatul82 gautamatul82 is offline
Registered User
 
Join Date: Jun 2006
Last Activity: 27 July 2006, 1:07 AM EDT
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Well....

if that is the case then you can look into the directory --

/var/log and you will find files by the name cron, cron.1, cron.2.....etc.

There's a size specified for the file and if it grows larger than the specified file size, then it is named as cron.<a no.> and a new file for new logs is created by the name "cron ".

Although if you want to specify a different location for the cron log files, then edit the file /etc/syslog.conf and look for the entry given for cron and edit it and specify the new location.
Sponsored Links
    #5  
Old Unix and Linux 07-23-2006   -   Original Discussion by srilinux
srilinux's Unix or Linux Image
srilinux srilinux is offline
Registered User
 
Join Date: Jun 2006
Last Activity: 7 December 2010, 10:12 PM EST
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you Gautamatul82
I want to check for your information...!
Linux
regards,
srilinux
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sysout from crontab process /usr/lib/sa/sa1 Grueben Solaris 2 04-24-2012 06:58 AM
File created in a different location instead of desired location on using crontab archana.n Shell Programming and Scripting 1 10-20-2011 03:47 AM
find pid of process run in specific location JCR Shell Programming and Scripting 4 07-29-2009 04:25 AM
kill a process initiated by crontab DILEEP410 Shell Programming and Scripting 6 10-16-2008 12:25 AM
crontab location Vips UNIX for Dummies Questions & Answers 3 11-13-2007 02:36 AM



All times are GMT -4. The time now is 02:36 PM.