WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: XCloner – Backup and Restore] Cronjob with external service

[Resolved] [Plugin: XCloner – Backup and Restore] Cronjob with external service

  • I can only use cron jobs to an external service (eg cronjob.de).
    My workarround:
    Changes in cloner.cron.php:

    ####### VERIFY IP ACCESS
    /*
    $ip_list = @explode(“\r\n”, $_CONFIG[‘cron_ip’]);
    $ip_list[] = $_SERVER[‘SERVER_ADDR’];
    $curent_ip = $_SERVER[“REMOTE_ADDR”];

    if(!in_array($curent_ip, $ip_list)){

    echo “Access Denied for ip $curent_ip!”;
    exit;

    }
    */
    #########################

    After disable this function I can use exterel cron jobs!

    Idee for a new feature:
    Disabling IP access control in settings for user with externel cron job.

    http://wordpress.org/extend/plugins/xcloner-backup-and-restore/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author xcloner

    @xcloner

    I do not advise doing this hack as it leaves your cron link vulnerable to external access, instead, simple add the new service ip address and it should work, if not, add at least a password verification

    Ovidiu

    I know that this change is a security risk, but the hoster cronjob.de sometimes changes the IP.
    How can I use the WordPress cron job?

    I have resolved this problem:

    Install the plugin “Utopia” for using cronjobs with XCloner.
    Works fine.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: XCloner – Backup and Restore] Cronjob with external service’ is closed to new replies.