recently pMBP stopped working through a cronjob. When I do the backup manually it works: the files are stored on the server and transferred via ftp. The cron was still working at the beginning of january but that changed somewhere in January.
I tried to figure out what the problem is but I'm at a loss here. This is the cronjob:
The size of the databases goes from 3,8MB to 0.3MB, so they're not really that big. In the mail I receive from the cronjob it says the first database has been successfully backed up (the largest database), but then the rest of the mail is blank. On the server a backup of that first database can be found together with an empty file of database 2. On the ftp-server nothing can be found at all. The execution time when manually doing the backup is about 14 secs.
I guess something is stopping the cronjob, but I have no idea what. Could you help me figure this one out please?
Thanks. :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Apparently it is db_2 which is causing the cronjob to fail and halting the backup of the other databases and the ftp transfer. But when I changed the cron to only do a backup of that database, everything works. What could be the reason of this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
recently pMBP stopped working through a cronjob. When I do the backup manually it works: the files are stored on the server and transferred via ftp. The cron was still working at the beginning of january but that changed somewhere in January.
I tried to figure out what the problem is but I'm at a loss here. This is the cronjob:
php -q /home/username/public_html/backup/backup.php db_1,db_2,db_3,db_4 1 1 1 1
The size of the databases goes from 3,8MB to 0.3MB, so they're not really that big. In the mail I receive from the cronjob it says the first database has been successfully backed up (the largest database), but then the rest of the mail is blank. On the server a backup of that first database can be found together with an empty file of database 2. On the ftp-server nothing can be found at all. The execution time when manually doing the backup is about 14 secs.
I guess something is stopping the cronjob, but I have no idea what. Could you help me figure this one out please?
Thanks. :)
Apparently it is db_2 which is causing the cronjob to fail and halting the backup of the other databases and the ftp transfer. But when I changed the cron to only do a backup of that database, everything works. What could be the reason of this?