I've created a cron job to update my local IP address to namecheap using the following command structure:
The IP address updates as expected, but I still receive an email saying "curl: not found". The subject of the email is:
curl "https://dynamicdns.park-your-domain...AIN_HERE&password=YOUR_PASSWORD_HERE&ip=`curl -s echoip.com`"
I've set both stdout and stderr to redirect to /dev/null
The IP address updates as expected, but I still receive an email saying "curl: not found". The subject of the email is:
Cron <nobody@freenas> PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin" curl "https://dynamicdns.park-your-domain.com/update?host=@&domain=[DOMAIN]&password=[PASSWORD]&ip=`curl echoip.com`" > /dev/null 2> /dev/null
Any idea why this is happening? Would like to stop the emails without disabling my freenas email notifications. Any help is greatly appreciated!