Support

Akeeba Backup for Joomla!

#28344 Multiple cron issue

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Saturday, 30 September 2017 17:17 CDT

joesca
Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue: Hello, I just can't run a multi lines crontab because I have more than 100 backup archives generated by these 2 scripts:

* * * * 7 /usr/bin/php /var/www/html/cli/akeeba-backup.php --description="Backup Automatcio Settimanale di Joe"
*/2 * * * * wget --no-check-certificate -O /dev/null "https://www.wallcities.com/index.php?option=com_easysocial&cron=true" > /dev/null 2>&1

The first one (which checks for email every 30 sec) works perfectly if I remove the secon one and the second one works perfecty if I remove the first one.
Any suggestion please?

See command line backup log file (13MB) here:
https://www.wallcities.com/AkeebaBackupDebugLog_wallcities.txt

Thank you in advance for your support.
BR
joe

tampe125
Akeeba Staff
Salve,

CRON ha un intervallo minimo di 1 minuto, per cui non è possibile avere un job ogni 30 secondi; a giudicare dal comando postato, il CRON di easysocial viene eseguito ogni 2 minuti.
Controllando il log che ha postato, sembra che il backup venga completato correttamente.
Potrebbe fornirmi maggiori informazioni?

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

joesca
Grazie per la celere risposta !
Sì, mio errore, lo script di EasySocial viene eseguito ogni 2 minuti e funziona correttamente.
Se però abilito anche la prima riga ottengo un centinaio di backup , ognuno correttamente archiviato.

Il log probabilmente è relativo all'ultima prova che avevo fatto, commentando la prima riga, e quindi è normale che risulti eseguito correttamente .

Spero di esserle stato di aiuto e se lo ritiene opportuno posso riabilitare entrambi gli script e inviarle il relativo log.

Grazie nuovamente per il prezioso supporto.
Joe

tampe125
Akeeba Staff
Il problema è nel format del job che fa riferimento ad Akeeba Backup.
Per come è stato impostato, verrà eseguito un backup ogni minuto di ogni giorno.
Può testare il formato a questo indirizzo, in questo caso le consiglio di chiedere supporto al suo host / sysadmin per aiutarla ad impostare correttamente l'intervallo dei backup.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

joesca
Grazie per il suggerimento ma sono incloud e quindi sono root.
Avevo provato diversi orari ma per riassumerle quello che ho ottenuto:
- Se imposto ad esempio le 16:40 di oggi tutto funziona perfettamente.
Esempio (appena testato)
40 16 * * * /usr/bin/php /var/www/html/cli/akeeba-backup.php --description="Backup Automatcio Settimanale di Joe"
*/2 * * * * wget --no-check-certificate -O /dev/null "https://www.wallcities.com/index.php?option=com_easysocial&cron=true" > /dev/null 2>&1

Ma se aggiungo un giorno della settimana , per esempio domenica, mi ritrovo un centinaio di backup.
Esempio alla mezzanotte di ogni domenica:
* * * * 7 /usr/bin/php /var/www/html/cli/akeeba-backup.php --description="Backup Automatcio Settimanale di Joe"
*/2 * * * * wget --no-check-certificate -O /dev/null "https://www.wallcities.com/index.php?option=com_easysocial&cron=true" > /dev/null 2>&1

Ora le chiedo gentilmente se questo nuov crontab le risulta corretto in modo da verificarlo questa notte, venerdì, alle ore 5:30 :
30 5 * * 5 /usr/bin/php /var/www/html/cli/akeeba-backup.php --description="Backup Automatcio Settimanale di Joe"
*/2 * * * * wget --no-check-certificate -O /dev/null "https://www.wallcities.com/index.php?option=com_easysocial&cron=true" > /dev/null 2>&1


Grazie per il supporto.
joe

joesca
Ah, forse ho ben compreso il mio banale errore ... * sta per ogni minuto ... e quindi veniva eseguito ogni minuto come da lei evidenziato.
Grazie nuovamente.

joe

tampe125
Akeeba Staff
Si esatto, deve essere inserito un minuto preciso, altrimenti il comando viene eseguito ogni minuto.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!