I wanna make curl in a cronjob like this
FILE=$(curl http://www.examples.com)

But when I did this cron sent me an email with curl's output :

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload 
Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13 0 13 0 0 18 0 --:--:-- 
--:--:-- --:--:-- 60

How do I make it silent?

with -silent option I get its headers assigned in $FILE too
How do I get rid of it?


Regards,
Penguin

Reply via email to