Support » Plugins and Hacks » Scheduling does not work any more

Scheduling does not work any more

  • Hi,

    since WP 3.5.1 the automatic scheduling of backup, optimize and repairing does not work any more.

    When I make my settings – for example to backup all 3 days -, then it shows me “the next backup” the current date/time and not the date in three days. Same at “optimize” and “repair”.

    When I make manually the backup of the database, it works, and a backup is made – but the automatic scheduling doesn’t work.
    I activated and de-activated the plugin, de-installed and re-installed it again … this problem remains.

    What can I do?


Viewing 15 replies - 16 through 30 (of 51 total)
  • I’m having the same trouble. Manual backup works fine. Does not run automatically.

    Plugin Author Lester Chan


    I can’t reproduce this problem on my end =(

    Do me a favour (if that is not too much to ask for). Install a new installation of WP with WP-DBManager, test to see if the schedule cron does work.

    On top of that try plugins like http://wordpress.org/extend/plugins/cron-view/ to see if the cron is being created.

    Hi, I did the following:
    -Installed cron view. The result is the following:

    “Dwa razy dziennie” 2 times a day
    “Co godzinÄ™” every hour
    “Raz dziennie” once per day

    I have also installed a new copy of WP on the same server.
    I have installed also W3TC and I have configured W3TC exactly the same way as in the production blog. I have also put the same theme copied from the production blog, and activated it. And in this new installed blog, the schedule works fine.

    And this is the cron view on the newly installed blog: http://img824.imageshack.us/img824/7273/cron2a.png

    So from my understanding the chron works fine. But only the code that sends the mails automatically for some reason doesn’t work. Backups are being made, but not sent


    Plugin Author Lester Chan


    is there any server/email log u can check? How big is the backup file?

    Yes, I always have the plugin “Email Log” on. All the emails SETN appear there, even if for some reason are not received.
    With regards to wp-dbmanager, in this email log I can see only the emails that it sends when I click to send the backup to my mail MANUALLY, but the automatic/scheduled mails do not appear in this mail log.

    The same in the server mail log. The automatic email do not appear.

    Plugin Author Lester Chan


    sorry man I run out of ideas. The only think I can think of is the DB is too big to be send by email like a php timeout or something

    I think that if there was a problem with the file too big or php timeout, then also then manual sending in “Manage Backup Database” would fail.

    Is there a way to test the code? To see what happens? Some way to log the behavior of the script?

    I have done other things:
    -I have moved ALL the plugins but WP-DBmanager to another folder
    -changed the theme to a clean twentytwelve
    -uninstalled wp-dbmanager from wp-admin/admin.php?page=wp-dbmanager/database-uninstall.php and removed the files, then reinstalled and reconfigured

    the problem still remains

    I have also contacted my support, they troubleshooted it, but they see that the mails work fine, both php and smtp.
    In the mail logs nothing appears. In the mail logs there are info only for the backups sent manually, not automatically.

    And also tried with php 5.3, 5.4, 5.2

    In addition I can add that I found some errors with:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    [20-Apr-2013 21:41:24 Europe/Warsaw] PHP Notice:  Undefined variable: folder_content in /home/mysite/public_html/wp-content/plugins/wp-dbmanager/wp-dbmanager.php on line 293
    [20-Apr-2013 21:42:36 Europe/Warsaw] PHP Notice:  Undefined index: Submit in /home/mysite/public_html/wp-content/plugins/wp-dbmanager/wp-dbmanager.php on line 398

    Maybe these are causing this problem?

    Plugin Author Lester Chan


    nope notices are fine. Your new blog that you installed it works fine? Including the sending of email?

    hi, yes the new test blog is in a subfolder of the production blog and it works fine also with the same theme.
    maybe some issue in the database?

    Isn’t there a way to check what the plugin is doing? I know the wp debug. It shows the errors. But what about some kind of verbose loggin of all that a script does? To see what happens when the dbmanager_cron_backup runs…. it first create a new backup… and then? what happens? why it doesn’t send the mail?

    Plugin Author Lester Chan


    I don’t think so, I am still guessing might be due to the db size, how big is your DB?

    here you have: http://img405.imageshack.us/img405/4792/backups.png

    Gzipped they are less than 5MB.
    If it was the db size, then I think that the manual mail would fail also?!

    Plugin Author Lester Chan


    Yea that is true as well. Okie, I am officially out of ideas =(

    This plugin is so good and it’s strange that there isn’t any debugging/logging function.
    Maybe you’ll develop some log/debug function in the plugin? This feature would find what happens…

Viewing 15 replies - 16 through 30 (of 51 total)
  • The topic ‘Scheduling does not work any more’ is closed to new replies.