All cron jobs removed
So I just migrated all the cpanel accounts from one server to another and there was one account with a cronjob that was pointing to somewhere that didn't exist, so I went into that user's control panel and deleted it.
I went into list the root's cron jobs and no nothing exists.
I know about the crontab -r which I always do crontab -l to avoid this issue.
This is a brand new install of whm and cpanel on a dedicated server from Godaddy. Is there any way other than going into /var/log/cron to get these back? Is there a default cron list that anyone can help me get this back? I'm super puzzled why deleting one non existent cron wiped the whole thing!
I'm tried searching for a default list (as I think there were 8or 9 in there)
Anyone with any ideas?
-
here is the default after a fresh install 0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1 30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1 22 23 * * * /usr/local/cpanel/scripts/upcp --cron 0 1 * * * /usr/local/cpanel/scripts/cpbackup 0 2 * * * /usr/local/cpanel/bin/backup 35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check 45 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_mailman_cache && /usr/local/cpanel/scripts/update_mailman_cache 30 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache 30 */2 * * * /usr/local/cpanel/bin/mysqluserstore >/dev/null 2>&1 15 */2 * * * /usr/local/cpanel/bin/dbindex >/dev/null 2>&1 15 */6 * * * /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1 */5 * * * * /usr/local/cpanel/scripts/dcpumon-wrapper >/dev/null 2>&1 49 5 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify 14,29,44,59 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1 0 -
Hello, Are you sure the root cron jobs were deleted? Do they not exist in the /var/spool/cron/root file? Thank you. 0 -
here is the default after a fresh install
Is this still up to date? Done the same thing.0 -
@harmonypersechino5348 - can you get me more details on what you're seeing at this time? But no, I would not expect the cron list to be the exact same as a list from 2017. 0 -
@harmonypersechino5348 - can you get me more details on what you're seeing at this time? But no, I would not expect the cron list to be the exact same as a list from 2017.
I ended up finding this What are the default cPanel cronjobs and what is their purpose?0
Please sign in to leave a comment.
Comments
5 comments