Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor cageehv

    (@cageehv)

    Hey gezginrocker,

    As far as I know, WordPress doesn’t support Linux cron jobs…

    Correct me when I’m wrong ??

    peace,
    Rolf

    Thread Starter gezginrocker

    (@gezginrocker)

    Hi Rolf,

    I’m also using Updraftplus and I’m using this php code below to trigger daily backups via cron. I was wondering if a similar thing is possible for your plugin as well.

    define(‘UPDRAFTPLUS_CONSOLELOG’, true);
    require_once(‘wp-load.php’);
    do_action(‘updraft_backup_all’);
    Plugin Contributor cageehv

    (@cageehv)

    Hey gezginrocker,

    Just released version 4.1.4 of the plugin.

    Now you can run the follow .php code from your crontab:

    define('RUN_OPTIMIZE_DATABASE', true);
    require_once('wp-load.php');

    Enjoy!

    peace,
    Rolf

    Thread Starter gezginrocker

    (@gezginrocker)

    Wow that was quick, thx a lot Ralf! ??

    Your plugin is amazing and your support is awesome, I’ll definitely make a donation. Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Setting Linux cron’ is closed to new replies.