Suppressing any output from a curl cron job?
Hi:I'm using the following command in cPanel to run a external php file using curl and as a cron job:
curl -o --url /dev/null http://www.mysite.com/update.php
It works, but I can't suppress the output that gets emailed to me. "/dev/null" supposedly should suppress it, but instead I get a mailformed URL error mailed to me. If I remove "/dev/null", no errors, just the output that gets emailed to me. Anyone know what is wrong with my syntax?
Thanks,