04-19-2002
There is nothing special for this exact situation. You will need to recover the crontab from a backup tape.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I have a shell script which works fine at the command line
and does works in crontab also but does not send the output to
mail as other scripts do by default.
10 1 * * * /export/home/test/report_script
by default should send the output to mail but the script
runs OK and the output... (1 Reply)
Discussion started by: run_time_error
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
Please help me in understanding the crontab entries and also below queries
1. how can we set a crontab entry
2. from where the cronjob will run( if default)
3. you can we specify the location from which the cronjob should run.
4. how can we capture the output of the cronjob.
... (8 Replies)
Discussion started by: thaduka
8 Replies
3. UNIX for Dummies Questions & Answers
How can I run "crontab" (parameters) every 6 hours on solaris machine?
Thanks (1 Reply)
Discussion started by: gen4ik
1 Replies
4. UNIX for Advanced & Expert Users
I have to write a script (not C based) that allows to capture of all commands issued by the user “root”.
First, I tried to monitor the .bash_history but the commands are written in chunk after the .bash_history is closed.
How can I capture the commands in Real-Time without waiting root to... (4 Replies)
Discussion started by: elieifrah@gmail
4 Replies
5. HP-UX
Is it possible to add a line to a crontab to so that a program will run every 15 minutes? how will this line look?
Thank you. (10 Replies)
Discussion started by: NicoMan
10 Replies
6. Solaris
Hi
I have an entry in the cron file.
10 3 * * * /usr/bin/test.sh
I want to change it to:
00 11 * * * /usr/bin/test.sh
how to do this without entering the crontab file and edit the change?
thank you (5 Replies)
Discussion started by: melanie_pfefer
5 Replies
7. UNIX for Advanced & Expert Users
Hi,
I am using Ubuntu 8.04 64-bit (Hardy Heron LTS Desktop edition) OS on a 64-bit intel hardware (x86_64). I have wrongly renamed the /lib64/libdl-2.7.so shared library file and now hardly few commands are working. My Gnome UI display has gone and I could not establish any new connection via... (12 Replies)
Discussion started by: royalibrahim
12 Replies
8. AIX
How can i schedule a batch job/script to run every minute every day? Thanks (3 Replies)
Discussion started by: mrn6430
3 Replies
9. Shell Programming and Scripting
Hi.
I'm working in an IBM mainframe UNIX environment and am running a script as follows:
for i in `find . -name *.xml -type f`
do
test -f $i && iconv -f IBM-932 -t IBM-1047 $i | egrep -l $1 && echo $1" found i
n" $i "searching as ASCII"
done
The idea is to locate all *.xml files... (3 Replies)
Discussion started by: neilrhysjenkins
3 Replies
10. UNIX for Dummies Questions & Answers
how can i create a personal entry for "user1" that creates a compressed version of the directory home/user1 every tuesday at 8.30pm and ensure the compressed version is forwarded to the users home directory ? thanks (1 Reply)
Discussion started by: erve1986
1 Replies
cron(8) System Manager's Manual cron(8)
NAME
cron - The system clock daemon
SYNOPSIS
/usr/sbin/cron
DESCRIPTION
The cron daemon runs shell commands at specified dates and times. Commands that are to run according to a regular or periodic schedule are
found within the crontab files. Commands that are to run once only are found within the at files. You submit crontab and at file entries
by using the crontab and at commands. Because the cron process exits only when killed or when the system stops, only one cron daemon
should exist on the system at any given time. Normally, you start the cron daemon from within a run command file.
During process initialization and when cron detects a change, it examines the crontab and at files. This strategy reduces the overhead of
checking for new or changed files at regularly scheduled intervals. The cron command creates a log of its activities. The cron daemon
must be started from the system startup scripts because it must begin execution without a login user ID set. The cron daemon starts each
job with the following process attributes stored with the job by the invoking process: Login user ID Effective and real user IDs Effective
and real group IDs Supplementary groups
It also establishes the following attributes from the authentication profile of the account associated with the login user ID of the invok-
ing process: Audit control and disposition masks Kernel authorizations
DIAGNOSTICS
The at and batch programs will refuse to accept jobs submitted from processes whose login user ID is different from the real user ID.
FILES
Specifies the command path. Main cron directory Directory containing the crontab files. List of allowed users. List of denied users His-
tory information for cron Queue description file for at, batch, and cron
RELATED INFORMATION
Commands: at(1), crontab(1), rc0(8), rc2(8), rc3(8)
Files: queuedefs(4) delim off
cron(8)