I have a cron job setup on one server to run a backup script in PHP that is hosted on another server.
The command I've been using is
curl -sS http://www.example.com/backup.php
Lately I've been getting this error when the Cron runs:
curl: (52) Empty reply from server
If I go to the link directly in my browser the script runs fine and I get my little backup ZIP file.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…