Associate
Hi i was hoping someone might be able to help me. I want to run a wget every couple of mins. Now manually doing it works fine;
However when i put this in a crontab -e like this;
It doesnt work. Any ideas?
Code:
wget -N /user/share/nginx/html/img http://*********/localdomain/localhost.localdomain/electrum-day.png
/user/share/nginx/html/img: Scheme missing.
--2016-01-13 13:04:50-- http://**********/localdomain/localhost.localdomain/electrum-day.png
Connecting to ********:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14787 (14K) [image/png]
Server file no newer than local file ‘electrum-day.png’ -- not retrieving.
However when i put this in a crontab -e like this;
Code:
*/2 * * * * wget -N /user/share/nginx/html/img http://*********/localdomain/localhost.localdomain/electrum-day.png
It doesnt work. Any ideas?