nomely the maximum execution time will use on cron jobs in same way as on manualy starts. Only if you call the script over CLI the execution time setting will be ignored.
Thread Starter
jnicol
(@jnicol)
OK, so it sounds like the max execution time should be working for my cron job. Any idea why it’s not?
In moment not sorry. Can you test the beta Version from https://github.com/inpsyde/backwpup
Thread Starter
jnicol
(@jnicol)
Hi Daniel. I tried the latest beta, but had the same results as with the stable version:
http://pastebin.com/baK05pan
I aborted the job after the first timeout, but as you can see the 120s max execution time has been ignored.
Yes, i see it. The Problem is that the Message gets the timout to display and the real restart function not gets the timeout or has a other error tht i can’t see. It is the same function for manual or for cron run.
If the a chaching plugin installed ?
Thread Starter
jnicol
(@jnicol)
I think you are onto something! The sites I’m having problems with are running W3 Total Cache, and with W3TC disabled restarts are happening at the max execution time, and the backups do not timeout.
Do you have any tips for getting BackWPup and W3 Total Cache to play nicely together?
However… even with W3TC disabled my cron jobs are now having issues uploading to Amazon S3:
ERROR: S3 Service API: The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.
Manual jobs still complete without errors.
Waht for caches of W3TC did you use?
Thread Starter
jnicol
(@jnicol)
Page cache: Disk enhanced
Database cache: Disk
All other settings at their default value.
What happend if you disable the database cache.
Thread Starter
jnicol
(@jnicol)
I think I have it working.
What worked for me was to change W3’s Page Cache method from “Disk Enhanced” to “Disk Basic”
After that I was able to perform a successful cron backup.
Hopefully that information might be helpful for anyone else whose scheduled backups are timing out.
Thanks for taking the time to see this issue through to its resolution. Your help is much appreciated.
I will also lokk what the differen is and if i can improve somthing.