Cron job not fully executing | Joomla 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 job not fully executing
August 24, 2013
2:03 pm
Avatar
joske
Member
Members
Forum Posts: 4
Member Since:
August 24, 2013
sp_UserOfflineSmall Offline

Hi,

 

After a long struggle with cron jobs, my provider has finally found a way which lets the cron job start succesfully:

wget -O - -q -t 1 /var/www/vhosts/DOMAIN/httpdocs/administrator/components/com_xcloner-backupandrestore/cloner.cron.php >/dev/null 2>&1

We never had any luck with the php or curl command.

 

However, looking at the backups, it appears that they're only 1/3 of the size they normally would have (it's missing a lot of subfolders). Can this be a problem of the above code used to start the cronjob? Starting the backup manually in the backend results in the normal (full) size.

 

PS: in a similar thread, someone was advised to use 'php' in the cron command, however this never worked for us, so I just started this new thread...

 

Thanks

August 24, 2013
4:40 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Do you have the output of the XCloner cron log? can you copy/paste it here or make a screenshot of it?

August 24, 2013
9:59 pm
Avatar
joske
Member
Members
Forum Posts: 4
Member Since:
August 24, 2013
sp_UserOfflineSmall Offline

Thanks for the quick reply. I enabled logs to my e-mail adress, but when I wanted to reproduce the problem, the cronjob fails entirely:

-: wget: command not found

 

This is exactly what we were struggling with before and is most likely server related. I will contact my provider next week to get this sorted, again.... I'll get back to this thread as soon as possible

 

PS: I found a typo in the dutch language files. "Oplsag" needs to be "Opslag"

administrator/components/com_xcloner-backupandrestore/language/dutch.php

line 78 should be: define("LM_CONFIG_BPATH","Backup Opslag Pad:");

September 3, 2013
9:03 pm
Avatar
joske
Member
Members
Forum Posts: 4
Member Since:
August 24, 2013
sp_UserOfflineSmall Offline

Wow after another struggle with my provider, it appears it was entirely their fault in their configuration (they were reluctant to admit it).

The cronjobs are working perfect now with "wget" and they have full size. Thanks anyway for your quick response Ovidiu!

And thanks for a great extension! I'll go give a 5 star review in joomla extensions right now.

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