===SYSTEM:crontab=== SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root # For details see man 4 crontabs # Example of job definition: # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of month (1 - 31) # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # * * * * * user-name command to be executed ===SYSTEM:0hourly=== # Run the hourly jobs SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root 01 * * * * root run-parts /etc/cron.hourly ===SYSTEM:backup_jobs_helper=== # /etc/cron.d/backup_jobs_helper: cron job for Comet backup jobs processing # # This cron job runs the backup_jobs_helper script every 5 minutes to check for # and execute any scheduled backup jobs that are due to run. # # The script is part of the Comet backup plugin for cPanel/WHM # # Format: minute hour day month dow user command # Run backup jobs helper every 5 minutes */5 * * * * root /usr/local/cpanel/scripts/backup_jobs_helper >> /var/log/comet_backup_jobs_helper.log 2>&1 ===SYSTEM:comet_license_sync=== # /etc/cron.d/comet_license_sync: cron job for Comet license-based registration # # This cron job runs every minute to check the cometbackup license status # and automatically registers or unregisters the plugin with AppConfig based # on license availability. # # Format: minute hour day month dow user command # Run license sync every minute * * * * * root /usr/local/cpanel/scripts/comet_license_registration_sync >/dev/null 2>&1 ===SYSTEM:cpanel-analytics=== ===SYSTEM:cpanel_autossl=== ===SYSTEM:imunify-antivirus=== PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin # Every Saturday at 1:25 25 1 * * 6 root /usr/bin/tmpwatch 168 /var/imunify360/tmp > /dev/null 2>&1 || : # Every Saturday at 2:25 25 2 * * 6 root /usr/bin/tmpwatch 168 /var/imunify360/tmp_cleanup > /dev/null 2>&1 || : # Every 5 minutes. Ignore "ERROR: imunify360 service is running." */5 * * * * root bash -c "sleep $((RANDOM \% 60))" ; /opt/imunify360/venv/share/imunify360/scripts/check-detached.py > /dev/null 2>&1 || : 17 4 * * * root /usr/libexec/report-command-error /opt/imunify360/venv/share/imunify360/scripts/update_components_versions.py > /dev/null 2>&1 0 * * * * root bash -c "sleep $((RANDOM \% 1800))" ;imunify-antivirus imunify-patch subscriptions refresh > /dev/null 2>&1 ===SYSTEM:imunify-core=== PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin # Daily package integrity check (DEF-37676) 47 2 * * * root bash -c "sleep $((RANDOM \% 1800))"; /usr/libexec/report-command-error /usr/share/imunify360/scripts/imunify-check-pkg-integrity >/dev/null 2>&1 ===SYSTEM:imunify-notifier=== # CONTENT OF THIS FILE IS GENERATED AUTOMATICALLY, DO NOT EDIT SHELL=/bin/bash MAILTO="" * * * * * root /usr/sbin/imunify-notifier -update-cron ===SYSTEM:mailman=== SHELL=/bin/bash MAILTO=postmaster # At 8AM every day, mail reminders to admins as to pending requests. # They are less likely to ignore these reminders if they're mailed # early in the morning, but of course, this is local time... ;) 0 8 * * * mailman /usr/local/cpanel/scripts/restartsrv_mailman --status &> /dev/null && /usr/bin/python3 -S /usr/local/cpanel/3rdparty/mailman/cron/checkdbs # # At 9AM, send notifications to disabled members that are due to be # reminded to re-enable their accounts. 0 9 * * * mailman /usr/local/cpanel/scripts/restartsrv_mailman --status &> /dev/null && /usr/bin/python3 -S /usr/local/cpanel/3rdparty/mailman/cron/disabled # # Noon, mail digests for lists that do periodic as well as threshhold delivery. 0 12 * * * mailman /usr/local/cpanel/scripts/restartsrv_mailman --status &> /dev/null && /usr/bin/python3 -S /usr/local/cpanel/3rdparty/mailman/cron/senddigests # # 5 AM on the first of each month, mail out password reminders. 0 5 1 * * mailman /usr/local/cpanel/scripts/restartsrv_mailman --status &> /dev/null && /usr/bin/python3 -S /usr/local/cpanel/3rdparty/mailman/cron/mailpasswds # # Every 5 mins, try to gate news to mail. You can comment this one out # if you don't want to allow gating, or don't have any going on right now, # or want to exclusively use a callback strategy instead of polling. #0,5,10,15,20,25,30,35,40,45,50,55 * * * * mailman /usr/local/cpanel/scripts/restartsrv_mailman --status &> /dev/null && /usr/bin/python3 -S /usr/local/cpanel/3rdparty/mailman/cron/gate_news # # At 3:27am every night, regenerate the gzip'd archive file. Only # turn this on if the internal archiver is used and # GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py 27 3 * * * mailman /usr/local/cpanel/scripts/restartsrv_mailman --status &> /dev/null && /usr/bin/python3 -S /usr/local/cpanel/3rdparty/mailman/cron/nightly_gzip # # At 4:30AM daily, cull old entries from the 'bad' and 'shunt' queues. 30 4 * * * mailman /usr/local/cpanel/scripts/restartsrv_mailman --status &> /dev/null && /usr/bin/python3 -S /usr/local/cpanel/3rdparty/mailman/cron/cull_bad_shunt ===SYSTEM:maldet-sigup=== # LMD independent signature update # Interval controlled by sigup_interval in conf.maldet # Managed by maldet install.sh — do not edit manually 0 */6 * * * root /usr/local/maldetect/maldet --cron-sigup >> /dev/null 2>&1 ===SYSTEM:maldet_pub=== */5 * * * * root /usr/local/maldetect/maldet --mkpubpaths >> /dev/null 2>&1 ===SYSTEM:wp-toolkit-update=== # This cronjob is responsible for receiving the updates of WP Toolkit. # It works as following logic: # - WPT CLI is called to receive the available update version; # - If update is found, then the URLs to the host with repositories are updated and cache is cleared for WPT repos; # - If WPT CLI fails (e.g. unable to communicate with update service or WPT is completely broken), then # the cronjob executes wp-toolkit-installer script to set the default URLs to host with repositories; # - Finally the yum update is called to install latest available version. 0 1 * * * root sleep $((1 + RANDOM \% 5))h $((1 + RANDOM \% 60))m; /usr/local/bin/wp-toolkit update-configuration > /dev/null 2> /dev/null || /usr/local/cpanel/3rdparty/wp-toolkit/bin/wp-toolkit-installer.sh --generate-configs > /dev/null 2> /dev/null; /usr/bin/yum -y update wp-toolkit-cpanel > /dev/null 2> /dev/null