cron doesn't backup one listing

modom

Well-Known Member
May 18, 2002
74
0
306
Arkansas
Hi,

I have just moved from plesk to cpanel and am having a problem getting a cron listing to run.

This is my cron file now.
0 12 * * * /root/dbBackups/dbBackups.sh
14 0 * * * /scripts/upcp
0 1 * * * /scripts/cpbackup
35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
0,15,30,45 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
*/5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
2,58 * * * * /usr/local/bandmin/bandmin
0 0 * * * /usr/local/bandmin/ipaddrmap
32 23 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
51 2 * * * /usr/bin/freshclam --quiet --no-warnings
0 6 * * * /scripts/exim_tidydb > /dev/null 2>&1

They all run except for this one which is the one I setup to dump all the different mysql databases into separate account folders on cpanel.

0 12 * * * /root/dbBackups/dbBackups.sh

I have tried every 30 minutes since about 8:30 this morning and this particular cron never runs. If I run it manually it works perfectly.

I have tried moving the folder to /usr/local/ and still it does not work.

Can someone please help me with this as it has been working on the plesk server?
 

modom

Well-Known Member
May 18, 2002
74
0
306
Arkansas
Hi,

The script never runs (that one line in the crontab).

I changed the permissions on the crontab to 4755 also and still it doesn't work.

Hang on ... now that I said that I just looked and something is working so let me check further.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Hi,

The script never runs (that one line in the crontab).

I changed the permissions on the crontab to 4755 also and still it doesn't work.

Hang on ... now that I said that I just looked and something is working so let me check further.
Looking closer at that cron job, it seems it is:

Code:
0 12 * * * /root/dbBackups/dbBackups.sh
This means it should run once per day at 12:00 noon, not every 30 minutes.

If you are sure this cronjob is not running, please let our technical analysts take a look at your server so they can investigate this further: http://tickets.cPanel.net/submit