Greetings forum,
I currently have cPanel and WHM in my VPS. I also have docker installed with my software.
I noticed that, everytime the command below is executed, docker daemon is restarted.
Cron <[email protected]> /usr/bin/yum -y -R 120 -d 0 -e 0 update
Ive set up docker to restart automatically. So its OK, except for the part that, this 'yum update' is running at 8:30 AM, when people are using the software and their emails etc.
Question:
How do I set up WHM/cPanel to run that yum update at 1 AM instead of 8:30 AM ?
-----
More information:

I currently have cPanel and WHM in my VPS. I also have docker installed with my software.
I noticed that, everytime the command below is executed, docker daemon is restarted.
Cron <[email protected]> /usr/bin/yum -y -R 120 -d 0 -e 0 update
Ive set up docker to restart automatically. So its OK, except for the part that, this 'yum update' is running at 8:30 AM, when people are using the software and their emails etc.
Question:
How do I set up WHM/cPanel to run that yum update at 1 AM instead of 8:30 AM ?
-----
More information:
crontab -l
1 4 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
18 3 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
9 1 * * 0 (/usr/local/cpanel/scripts/fix-cpanel-perl; /usr/local/cpanel/scripts/upcp --cron > /dev/null)
1 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
33 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_mailman_cache && /usr/local/cpanel/scripts/update_mailman_cache
55 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
12 */2 * * * /usr/local/cpanel/bin/mysqluserstore >/dev/null 2>&1
39 */2 * * * /usr/local/cpanel/bin/dbindex >/dev/null 2>&1
51 */6 * * * /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1
*/5 * * * * /usr/local/cpanel/scripts/dcpumon-wrapper >/dev/null 2>&1
45 10 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
35,50,5,20 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
0 2 * * * /usr/local/cpanel/bin/backup
5,20,35,50 * * * * /usr/local/cpanel/scripts/eximstats_spam_check 2>&1
0 */2 * * * /usr/local/cpanel/scripts/shrink_modsec_ip_database -x 2>&1
@reboot /usr/local/cpanel/bin/onboot_handler
53 4 * * * /usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings
09,39 * * * * /usr/local/cpanel/scripts/clean_user_php_sessions > /dev/null 2>&1

Last edited by a moderator: