You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Cron Daily “/etc/cron.daily” Jobs not Executing at Specified Time

Applies to:

Oracle Cloud Infrastructure - Version N/A and later

Linux x86-64

Symptoms:

Daily cron jobs are getting executed at random time and not as scheduled.

#cat/etc/crontab
 5 0 * * * root run-parts /etc/cron.daily  →  cron.daily daily operation at 0:05
 
#ls -l /etc/cron.daily/
total 13
-rwxrwxrwx 1 xxxxxx **** 408 Apr 12 22:11 0logwatch
-rwxrwxrwx 1 xxxxxx **** 4200 Apr 12 22:11 cellos
-rwxrwxrwx 1 xxxxxx **** 9887 Apr 12 22:11 exadata_aide
-rwxrwxrwx 1 xxxxxx **** 925 Apr 12 22:11 exawatcher
-rwxrwxrwx 1 xxxxxx **** 219 Apr 12 22:11 logrotate
-rwxrwxrwx 1 xxxxxx **** 208 Apr 12 22:11 mlocate

Despite the above settings, cron.daily is not executed at 0:05, but instead carried out at random time intervals of between 2-9 hours. i.e timestamp indicates that

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!