Cron job error | 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 2, 2014
2:10 pm
Avatar
Guest
Guests

Program run backup successfully when I execute manually. When I am setting up cron job, gives me this error (executed from xCloner);

 

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

php /home/sites/xyzabcd.com/public_html/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php mycustomconfig.php

 

I do have custom coinfiguration file. I use this exact command on shared hosting;

/usr/bin/php  /home/sites/xyzabcd.com/public_html/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php?mybackup.php

 

It says: 404 error, no input file specified

 

Any ideas?

March 2, 2014
4:27 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

You cron command should be as indicated above in this format

 

php /home/sites/xyzabcd.com/public_html/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php mycustomconfig.php

March 2, 2014
6:12 pm
Avatar
Guest
Guests

This is exact command I run ;

/usr/bin/php  /home/sites/abcdefg.com/public_html/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php mybackup.php

and it gives me error;

To run this script you need to create a custom config file inside XCloner Config, and call the script using php cli command like this:
php /home/sites/xyzabcd.com/public_html/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php mycustomconfig.php

If I run it like this;

/usr/bin/php  /home/sites/abcdefg.com/public_html/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php?config=mybackup.php

then it gives me this error;

Status: 404 Not Found
Content-type: text/html
No input file specified

March 3, 2014
8:56 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

I have posted an update in the wordpress repository, try and reinstall XCloner and see if you have anymore issues!

 

The command you need to run is 

 

php /home/sites/xyzabcd.com/public_html/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php mycustomconfig.php

 

Ovidiu

March 3, 2014
9:58 pm
Avatar
Guest
Guests

Thank you Ovidiu, but problem is still the same. I tried on a new site and still the same. I wonder if there is anybody here who runs this script successfully on Heart Internet.

March 4, 2014
6:40 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

You can remove if you like this code at the top of cloner.cron.php file

 

if(!defined('STDIN') ) {
echo  "<h2>".$topErrorLine1."</h2>\n";
echo "<strong>".$topErrorLine2."</strong>\n";
exit;
}
March 4, 2014
7:25 pm
Avatar
Guest
Guests

Sorry Ovidiu, I have just tested this and still not working.

March 4, 2014
7:49 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Feel free to open a support ticket and i can take a look directly at the issue!

March 5, 2014
2:06 pm
Avatar
Hunor
Hungary
Member
Members
Forum Posts: 12
Member Since:
July 21, 2011
sp_UserOfflineSmall Offline

I have exactly the same problem. I moved over to a new hosting site, set up my website from xcloner backup, wanted to test cron but received the same error message.

Xcloner run smoothly on my previous hosting. Now I can only make manual backups.

March 5, 2014
5:57 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

I can only help yo guys if you give me access to your hosting account to make a few tests, happy to do it for free http://www.xcloner.c.....m/contact/ , otherwise you will need to debug the code i've indicated above.

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