CRONTAB - Crontab Is A File Which Contains The Schedule of Cron

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

1

CRONTAB - Crontab is a file which contains the schedule of cron


entries to be run and at specified times. File location varies by
operating systems, See Crontab file location at the end of this
document.

CRONTAB COMMANDS:

crontab -e : Edit crontab file, or create one if it doesn’t


already exist.

crontab –l : crontab list of Cronjobs, display crontab file


contents.

crontab -r : Remove your crontab file. (DON’T USE THIS UNTIL &
UNLESS ABSOLUTLEY NECESSARY)

Crontab Entries:

For Reference im attaching Cron entries

CRONTAB
ENTRIES_TEXT FORMAT.txt

Please go through .txt file


2

How to Schedule ADRCI Entry.

I’m Attaching purge_adr_logs.ksh text file (You should save as


.ksh)

purge_adr_logs.ksh

The Directory which I used is

/home/oracle/epsilon/scripts/monitor/purge_adr_logs.ksh this
directory should be same in Crontab also.

Crontab –e is used to edit or make entry of cornjob in crontab.

Inside the same directory log file also should be created, after
creating permissions should be set for that PWD (Present Working
Directory)
3

You might also like