I am unable to setup cron job. I have installed Magento CE 2.1.4 and had tried to setup cron job through cpanel.
I have used this command for cronjob :
* * * * * wget -o -q http://www.domain.com/public_html/cron.php
I keep getting this error in mail :
/bin/bash: /dev/: Is a directory
Please help. I am new to magento and am unable to understand how to set it up and also how to set success messages to my mail.
Thanks in advance