Cron job error | Page 2 | 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
Cron job error
March 5, 2014
8:31 pm
Avatar
Hunor
Hungary
Member
Members
Forum Posts: 12
Member Since:
July 21, 2011
sp_UserOfflineSmall Offline

I finally succeeded.

I removed this part - as you suggested:

1 if(!defined('STDIN') ) {
2   echo  "<h2>".$topErrorLine1."</h2>\n";
3   echo "<strong>".$topErrorLine2."</strong>\n";
4   exit;
5   }

 

Added a configuration name, and appended it to the end of the cron task.

 

Thank you.

March 6, 2014
11:32 am
Avatar
Guest
Guests

Can you give exact line of code here?

March 6, 2014
1:07 pm
Avatar
Hunor
Hungary
Member
Members
Forum Posts: 12
Member Since:
July 21, 2011
sp_UserOfflineSmall Offline

1. I deleted the code above from cloner.config.php

2. In the WordPress XCloner plugin: Administration - Configuration - Cron (tab at the top): I added a Configuration name, like: anyname.php

3. In cPanel: Advanced (group at the bottom in cPanel) - Cron Jobs: I added a new Cron job:

/usr/bin/php  /home/xyzfolder/public_html/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php anyname.php

 

March 6, 2014
5:51 pm
Avatar
Guest
Guests

This did not work on my site. I have tried it. Thanks for your help.

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
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
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