WordPress.org

Ready to get started?Download WordPress

Forums

WP-DBManager
Scheduling does not work any more (52 posts)

  1. utnalove
    Member
    Posted 1 year ago #

    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...

  2. mbrsolution
    Member
    Posted 1 year ago #

    Hi @utnalove have you tried to enable the following to true?

    define('WP_DEBUG', false);

    Try and set the e-mail job to run and see if any errors are displayed?

    Kind regards

  3. utnalove
    Member
    Posted 1 year ago #

    Hi mbrsolution, as you can see on page 1, I tried this:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false)

    but it doesn't help... no error found ... well there were some errors, but the dev says they cannot cause the problem I am noticing...

  4. mbrsolution
    Member
    Posted 1 year ago #

    Hi utnalove yes I read on the first page but did you set it up so it would run while the plugin sent the e-mail automatically?

    Just a thought.

    Kind regards

  5. utnalove
    Member
    Posted 1 year ago #

    Yes, in that period of debug the plugin was generating automatically reports every 2 minutes and the debug was on for around 10 minutes :(

    I'd still like to know what happens why the script stops when it comes to send the email... and even more strange.. why there is no PHP error?!

  6. mbrsolution
    Member
    Posted 1 year ago #

    It is very strange, I am going to do some testing on my end to see if I get a similar error.

    Will let you know.

    Kind regards

  7. utnalove
    Member
    Posted 1 year ago #

    yeah, thanks. at least if it was possible to test somehow the plugin... I mean, something that generates a log. not only warning and errors, but also something that just logs what happens, all, also good successful things :/ don't know how to explain
    there are some plugins for other purposes that generate some kind of verbose logging..

  8. mbrsolution
    Member
    Posted 1 year ago #

    Hi utnalove I just ran a test and it worked for me. I set it up to e-mail me a backup every two minutes.

    This is my current server settings:

    Apache Server
    Operating system: Linux

    Database version MySQL: 5.5.30-log
    Database client version MySQL: 5.5.30

    PHP version: 5.2.17
    Memory used: 59.28 MB
    PHP Memory limit: 256M

    I hope this helps you a bit.

    Kind regards

  9. utnalove
    Member
    Posted 1 year ago #

    I have the same. The only difference is that I am running on Litespeed server. And I tried with php 5.2, 5.3, 5.4 :(

  10. mbrsolution
    Member
    Posted 1 year ago #

    Ok...where is your e-mail sent?

  11. utnalove
    Member
    Posted 1 year ago #

    my emails are not being sent if the backup are scheduled via cron. If I use the function to send the email manually, then wp-dbmanager sends the email

  12. mbrsolution
    Member
    Posted 1 year ago #

    Does the e-mail contain a copy of the backup?

  13. utnalove
    Member
    Posted 1 year ago #

    yes it does, they are almost 5MB files .sql.gz

  14. mbrsolution
    Member
    Posted 1 year ago #

    To tell you the truth I never set up a scheduled cron job. I already have a full backup created once a week with a backup plugin. I only use this plugin to fix or repair and optimize the database every so often which does a great job.

    Once in a while I might create a database with this plugin but very rarely.

  15. utnalove
    Member
    Posted 1 year ago #

    yeah, you know... I can also change plugin, but this one is nice, and it's painful to know that something that should work, it is not working ...

  16. mbrsolution
    Member
    Posted 1 year ago #

    I agree with you and that is why as I mentioned above I use this plugin to optimize and repair my database and it does a great job.

  17. utnalove
    Member
    Posted 1 year ago #

    and I'd like it to make a great job on scheduled emails as well

  18. Curt44319
    Member
    Posted 1 year ago #

    I have the same problem, but automatic never worked.

    Also, I am the system admin of the host, so I have console access to any and everything.
    I see no entries in root's crontab file, and no crontab file for wp or any plugin in /var/spool/cron/crontabs
    Where should the crontab be, and what entries should it have ?

  19. Curt44319
    Member
    Posted 1 year ago #

    Never mind.
    Installed wp-cron control, and it told me enough about what I needed to know.

    There was no cron job anywhere to trigger the wp-cron.php file.

    Probably, this could be fixed in most cases with a little documentation.

  20. utnalove
    Member
    Posted 1 year ago #

    Curt44319, so it's a different issue, because in my case the cron job is there, but it doesn't fully do what it should

  21. Curt44319
    Member
    Posted 1 year ago #

    Then it might help you to know that I'm using WP 3.5.1 and the plugin
    wp-dbmanager version 2.63
    I had no way to know about the cron relationship ( undocumented ) until this thread. Installing wp-cron control gave a page with the command needed to fire off the wp-cron.php file. Using the wget command without the wget, just putting the argument in a browser window, told me what I needed to know. Running the wget command ( on the host system console ) without the -q told me more.
    Although the e-mail copy did *not* show up in the wp email log, it does show in the system maillog file.

    Hope it helps...

  22. XXH
    Member
    Posted 1 year ago #

    i think it is the

    execute_backup() function does not exit properly for some reasons in Schedule mode.

    backup file will get generated but it wont go to the next step.

    hope Mr Lester can look into this.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic