Cron config not working | General Questions and 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_TopicIcon
Cron config not working
November 2, 2014
2:40 pm
Avatar
Tim
Member
Members
Forum Posts: 4
Member Since:
November 2, 2014
sp_UserOfflineSmall Offline

I have just installed 3.5.2 into Joomla and also tried the standalone 3.5

Whilst a manual backup works I cannot get the cron working. I have set up and saved a config file but the script does not seem to accept it.

I get the following error if I try to run the script via the 'execure cron' link from within the component – 'To run this script you need to create a custom config file inside XCloner Config…' I get the same error if I try to execute the script via my hosting control panel.

If I use '…./public_html/administrator/components/com_xcloner-backupandrestore/cloner.cron.php backup-config.php' I get the above error. If I remove the config file name I get the same error.

If I use '…./public_html/administrator/components/com_xcloner-backupandrestore/cloner.cron.php backup-config.php?config=backup-config.php' I get a 404 Not Found error.

This is really frustrating as I have used xcloner in the past and it was simple to set up and get running. Even now I have a couple of sites using this to backup to Amazon S3 weekly.

I just cannot see what I am doing wrong here.

November 3, 2014
7:42 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

You can open the cloner.cron.php file from inside XCloner and remove these lines(16-20) at the top 

 

if(!isset($argv[1]) ) {
echo  “<h2>”.$topErrorLine1.”</h2>\n”;
echo “<strong>”.$topErrorLine2.”</strong>\n”;
exit;
}

if(!isset($argv[1]) ) { echo  “<h2>”.$topErrorLine1.”</h2>\n”; echo “<strong>”.$topErrorLine2.”</strong>\n”; exit; }

 

Ovidiu

November 3, 2014
12:01 pm
Avatar
Tim
Member
Members
Forum Posts: 4
Member Since:
November 2, 2014
sp_UserOfflineSmall Offline

Hi,

That solved it. Thanks.

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: 737
Members: 9858
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Allan Casilao
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0