Run a Cpanel cron URL [duplicate]

-1

I need to run a URL at 19:00 every day. I tried to do the cron job of cpanel, but the url is not executed.

curl -s -o /dev/null http://minhaurl.com.br/index.php/sms/enviodiario

What would be wrong?

    
asked by anonymous 09.09.2016 / 00:39

1 answer

1

Try this here

wget -O /dev/null http://minhaurl.com.br/index.php/sms/enviodiario

When I need to use it I do this, see and the curl is enabled on your server and if you want to use curl you do it in this order

curl http://minhaurl.com.br/index.php/sms/enviodiario -o /dev/null

I do not know if it influences but this is how I have used it on my server with cpanel

    
09.09.2016 / 01:25