I want to save an image from another server with a CRON job URL: http://servlet.dmi.dk/byvejr/servlet/byvejr_dag1?by=5466&mode=long - it is a png image I've tried with the following codes
*/5 * * * * curl http://servlet.dmi.dk/byvejr/servlet/byvejr_dag1?by=5466&mode=long > /home/klintweb/public_html/gal.klintmx.dk/images/vejr.png
The image is saved in the folder, but it can't be published because of an error - the file-size is 0 byte Is there a way to do this