Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do i check Scheduled Cronjob is running or not ?

JhilDec 10 2019 — edited Dec 11 2019

Dear Experts,

We could see /  FS is  filled very fast.

cron job is scheduled to purge some files every 2 days.

How do I confirm, whether cron job is properly running or not on scheduled time ?

because I am deleting files manually frequently.

$ sudo du -sh /*

277M    /boot

1.3G    /dev

54M     /etc

163M    /home

656M    /opt

6.6M    /root

4.1G    /run

31G     /tmp

78G     /u01

4.0G    /usr

3.4G    /var

$ ls –lrt /tmp

-rw-r--r--  1 oracle                    asmadmin                     410 Dec  5 22:27 search_pkg1205222750.130865000.out

-rw-r--r--  1 oracle                    asmadmin                     324 Dec  5 22:27 search_pkg1205222750.177934000.out

-rw-r--r--  1 oracle                    asmadmin                     321 Dec  5 22:27 search_pkg1205222750.227539000.out

-rw-r--r--  1 oracle                    asmadmin                     410 Dec  5 22:27 search_pkg1205222750.293951000.out

-rw-r--r--  1 oracle                    asmadmin                     321 Dec  5 22:27 search_pkg1205222750.399525000.out

-rw-r--r--  1 oracle                    asmadmin                     324 Dec  5 22:27 search_pkg1205222750.449371000.out

-rw-r--r--  1 oracle                    asmadmin                     318 Dec  5 22:27 search_pkg1205222750.460905000.out

-rw-r--r--  1 oracle                    asmadmin                     324 Dec  5 22:27 search_pkg1205222750.538155000.out

-rw-r--r--  1 oracle                    asmadmin                     318 Dec  5 22:27 search_pkg1205222750.629100000.out

-rw-r--r--  1 oracle                    asmadmin                     379 Dec  5 22:27 search_pkg1205222750.649515000.out

DB : 12.2 on RHEL 7.5

Thanks

This post has been answered by Carlos Valente on Dec 11 2019
Jump to Answer
Comments
Post Details
Added on Dec 10 2019
11 comments
2,411 views