Running cron job using WP-Crontrol | Wordpress Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_Feed Topic RSSsp_TopicIcon
Running cron job using WP-Crontrol
May 7, 2014
2:23 pm
Avatar
Quest
New York
Member
Members
Forum Posts: 10
Member Since:
September 18, 2013
sp_UserOfflineSmall Offline

I used to use Xcloner on an old website (a few months back) and had a cron job set up through the Plugin "WP Crontrol." I used this execution code in the hook box:

 

wp_remote_get( 'http://mysite.com/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php?config=custom.php' );

This no longer works with a new Wordpress site I have. I'm not getting any errors anywhere, but when I look in the administrator/backups folder via ftp, it's empty. Any thoughts?

May 7, 2014
8:14 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

The cron command has been replaced with the CLI  format 

 

php /home/../pathto/cloner.cron.php myconfig.php

 

please try and run that link in your browser, you will get the details there

 

Ovidiu

May 7, 2014
10:16 pm
Avatar
Quest
New York
Member
Members
Forum Posts: 10
Member Since:
September 18, 2013
sp_UserOfflineSmall Offline

When I past the url into the browser I get this:

To run this script you need to create a custom config file inside XCloner Config, and call the script using php cli command 

How do I do this through Wordpress?

May 8, 2014
4:55 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

You will be required to have enabled the php exec or shell_exec function for this to work, or access to a server cron scheduler...

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
D: 21
Andy: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10048
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Omar Vera
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0