Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Location log after process crontab

Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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
# 3  
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  
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.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Kill Duplicated Process by shell in crontab
Pactows
Hi! I need your help, please. I'm in AIX node and sometimes listener process from an oracle instance gets duplicated, i mean that it get spawned a second listener process. As we can't apply changes to the databases on this months, i want to build a shell that can identify the second...... UNIX for Dummies Questions & Answers
6
UNIX for Dummies Questions & Answers
File created in a different location instead of desired location on using crontab
archana.n
Hi, I am logging to a linux server through a user "user1" in /home directory. There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory. When the script is added to crontab, on...... Shell Programming and Scripting
1
Shell Programming and Scripting
find pid of process run in specific location
JCR
Hello, I have a process a.out that runs from /a and /b How can I get the pid of the one running from /a ps -C /a/a.out does not work Thanks!... Shell Programming and Scripting
4
Shell Programming and Scripting
kill a process initiated by crontab
DILEEP410
Hi, I scheduled one script through crontab command and seems like it is hanging. I come to know this through the command 'ps -ef' whcih is showing me the program running, but no chances of it to take more than 2hrs to comlpete. I want to kill that process. I tried to kill it using the...... Shell Programming and Scripting
6
Shell Programming and Scripting
crontab location
Vips
Hi all, my problen is I designed a crontab with specific parameters & was running till yesterday. Suddenly it stoped working, I have a confusion that what should be the crontab file location in our file directory...or it doesn't matter that where ever this file is stored. What should I do now? ...... UNIX for Dummies Questions & Answers
3
UNIX for Dummies Questions & Answers

Featured Tech Videos