Probleme avec cron | 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
Probleme avec cron
April 24, 2013
3:56 pm
Avatar
cerle
France 78
Member
Members
Forum Posts: 3
Member Since:
April 24, 2013
sp_UserOfflineSmall Offline

Bonjour,

 

les sauvegardes manuelles se passent bien (sans tar car je suis chez Gandi en simple hosting et apparemment le chemin /bin/tar ne correspond pas) mais impossible de faire fonctionner un cron (erreur 500).

l'instance gandi n'autorise pas ftp mais il faut utiliser ftpput (que j'ai testé et qui fonctionne bien).

est-ce du à ca svp ?

par avance merci pour votre aide.

April 24, 2013
6:11 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

What is the cron command you are using? Try and use the php executable one like

 

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

 

Regards, Ovidiu

April 24, 2013
7:25 pm
Avatar
cerle
France 78
Member
Members
Forum Posts: 3
Member Since:
April 24, 2013
sp_UserOfflineSmall Offline

Hi,

First, thanks to answered so quickly !!

I used cloner.cron.php?config=My_Conf_backup.php with "execute cron job" in the cron tab.

I watch in the apache logs and I've got a error "exection time out".

I saw in another topic that I should enable compression server but unfortunately the path /bin/tar does not seem valid and I'm not even sure that they allow that in Gandi.

April 24, 2013
7:34 pm
Avatar
cerle
France 78
Member
Members
Forum Posts: 3
Member Since:
April 24, 2013
sp_UserOfflineSmall Offline

I just try writing a php.ini with

max_execution_time = 180;
but without success ... in effect it seems that gandi blocks it at 120
upload_max_filesize = seems to be block too at 64M
April 26, 2013
6:36 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Increase the max_execution_time to a larger value and switch the cron command to the type

 

php /home/.../pathto/cloner.cron.php My_Conf_backup.php

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