These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for cron - which syntax works? on the new forum.
Hi, I have several cron jobs running and they are all creating those blank files in root. For some reason the ">/dev/null 2>&1" i added to the end of the cron commands are not keeping from creating these files.
Am i missing something here? Will these work?
wget -q -O /dev/null http://......
wget --delete-after -q http://......
Thanks
Howdy,
There's multiple ways to do what you're after,
I've personally used this one, and it seems to do the trick:
wget -O /dev/null http://domain.tld > /dev/null