Location log after process crontab

 
Thread Tools Search this Thread
Operating Systems Linux Gentoo Location log after process crontab
# 1  
Old 07-14-2006
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
# 2  
Old 07-17-2006
So...
No problem with these log from crontab...?
# 3  
Old 07-22-2006
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 07-22-2006
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.
# 5  
Old 07-24-2006
Thank you Gautamatul82
I want to check for your information...!
Smilie
regards,
srilinux
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

sysout from crontab process /usr/lib/sa/sa1

Hi I've found this crontab entry to run sa1 on sunOs box but I don't know where the result of this command is being stored. Is there a standard location for this? I assume the command is supposed to be storing the details somewhere.. Thanks (2 Replies)
Discussion started by: Grueben
2 Replies

2. UNIX for Dummies Questions & Answers

Kill Duplicated Process by shell in crontab

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... (6 Replies)
Discussion started by: Pactows
6 Replies

3. Shell Programming and Scripting

File created in a different location instead of desired location on using crontab

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... (1 Reply)
Discussion started by: archana.n
1 Replies

4. AIX

Log Location

Hi, I would like to find out where the system will display the server was shutdown due to power fluctuation. I have check the command errpt and alog -o -t boot |more but not getting the requred information. alog -o -t boot command is not showing the time Time: 9 LEDS: 0x538 invoking... (4 Replies)
Discussion started by: manoj.solaris
4 Replies

5. Shell Programming and Scripting

find pid of process run in specific location

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! (4 Replies)
Discussion started by: JCR
4 Replies

6. AIX

Location of smit.log

What is the location of smit.log (3 Replies)
Discussion started by: AIXlearner
3 Replies

7. UNIX for Advanced & Expert Users

Location of log file

This below one find the table name in the log.I want location of log file.Please any help > find / -type f -name "*.log" -exec grep -i 'sct' {} 2>/dev/null \; . . importing table "sct" . . exporting table sct . . importing table "sct" . . exporting table sct ... (1 Reply)
Discussion started by: mohan705
1 Replies

8. UNIX for Dummies Questions & Answers

crontab or looping script to Kill process from user

I am looking for a way to kill 2 processes from a user through some kind of script. Using an oracle script, I get two process ids that need to be killed. SQL> select ssn.process as client_process_id, pcs.spid as oracle_process_id, ssn.sid, ssn.serial# 2 from v$session ssn inner join... (5 Replies)
Discussion started by: Meert
5 Replies

9. Shell Programming and Scripting

kill a process initiated by crontab

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... (6 Replies)
Discussion started by: DILEEP410
6 Replies

10. UNIX for Dummies Questions & Answers

crontab location

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? ... (3 Replies)
Discussion started by: Vips
3 Replies
Login or Register to Ask a Question