- Notifications
You must be signed in to change notification settings - Fork88
Open
Labels
Description
We have encountered an issue with cron where a daily job occasionally skips its scheduled day and executes twice on the following day.
30 18 * * * /path/to/django/manage.py send_report 1 # report_1logs:
Dec 8 18:30:02 server CROND[478870]: (user) CMD (/path/to/django/manage.py send_report 1 # report_1)Dec 9 18:30:02 server CROND[608023]: (user) CMD (/path/to/django/manage.py send_report 1 # report_1)Dec 10 18:30:01 server CROND[729810]: (user) CMD (/path/to/django/manage.py send_report 1 # report_1)Dec 11 18:30:01 server CROND[829034]: (user) CMD (/path/to/django/manage.py send_report 1 # report_1)Dec 12 18:30:01 server CROND[925578]: (user) CMD (/path/to/django/manage.py send_report 1 # report_1)Dec 14 18:30:01 server CROND[1115879]: (user) CMD (/path/to/django/manage.py send_report 1 # report_1)Dec 14 18:30:01 server CROND[1115881]: (user) CMD (/path/to/django/manage.py send_report 1 # report_1)What could be the cause of this? Do you know how I can debug it?
The command is quick, though the server goes through high usage from time to time.
version:
> crond -Vcronie 1.5.2> cat /etc/os-releaseNAME="AlmaLinux"VERSION="8.9 (Midnight Oncilla)"ID="almalinux"ID_LIKE="rhel centos fedora"VERSION_ID="8.9"PLATFORM_ID="platform:el8"PRETTY_NAME="AlmaLinux 8.9 (Midnight Oncilla)"ANSI_COLOR="0;34"LOGO="fedora-logo-icon"CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos"HOME_URL="https://almalinux.org/"DOCUMENTATION_URL="https://wiki.almalinux.org/"BUG_REPORT_URL="https://bugs.almalinux.org/"ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8"ALMALINUX_MANTISBT_PROJECT_VERSION="8.9"REDHAT_SUPPORT_PRODUCT="AlmaLinux"REDHAT_SUPPORT_PRODUCT_VERSION="8.9"
Thanks