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.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Shell Programming and Scripting
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
3. UNIX for Dummies Questions & Answers
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
4. UNIX for Advanced & Expert Users
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
5. AIX
What is the location of smit.log (3 Replies)
Discussion started by: AIXlearner
3 Replies
6. Shell Programming and Scripting
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
7. AIX
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
8. Shell Programming and Scripting
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
9. UNIX for Dummies Questions & Answers
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
10. Solaris
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
LEARN ABOUT DEBIAN
bcrontab
bcrontab(1) General Commands Manual bcrontab(1)
NAME
bcrontab - Manage users crontab files
SYNOPSIS
bcrontab [ -u user ] file
bcrontab [ -u user ] { -l | -r | -e }
DESCRIPTION
bcrontab interfaces with the bcron-spool daemon to manage crontab files in the privileged spool directory.
OPTIONS
-u user
Tell bcron-spool that we are acting on behalf of the named user. bcron-spool will only accept the username if bcrontab is running
as either root or the same user ID as the named user.
-l List the cronab crontab to standard output.
-r Remove the user's crontab.
-e Edit the current crontab.
ENVIRONMENT
VISUAL If this is set, it is used as the editor to invoke to edit a crontab.
EDITOR If $VISUAL is not set and this is, it is used as the editor to invoke to edit a crontab. If neither are set, /bin/vi is used.
BCRON_SOCKET
The path to the named socket used to communicate with bcron-spool. Defaults to /var/run/bcron-spool.
LOGNAME
USER These two variables are used, in order, to determine the user name invoking the program. One must be set if the -u option is not
used.
FILES
bcrontab tries to writes a temporary file into the current directory, and then into /tmp if that fails, in order to edit the current
crontab.
SEE ALSO
bcron-spool(8), crontab(5)
AUTHOR
Bruce Guenter <bruceg@em.ca>
bcrontab(1)