3 ms·
It is just much easier to use in my opinion. I ran tons of cronjobs to update certain things. Few cool options I have with cURL that I find hard time locating
by joering2 9y ago
It is just much easier to use in my opinion.
I ran tons of cronjobs to update certain things. Few cool options I have with cURL that I find hard time locating in wget (doesn't mean they don't exist)
--max-time (seconds) - for some reason I found wget not respecting always how much time it should be pulling the content. I think its related to fact curl and wget determine the moment of fetching file differently.
--retry 0 - i did not find a way to tell wget not to retry pulling page. This was super important to my setup as we ran some pages for 6 hours to make sure the job is done. wget will gave up and retry after 15 minutes: HTTP request sent, awaiting response... Read error (Connection timed out) in headers. Retrying.
Curl combined with solo for cronjobs is making pulling scripts on 32 servers very easy task and I hadn't had issues with it for 3 years now.