Hi,
I'm using onetimedns.net for my dynamic DNS needs, and I have e-mail reporting set-up.
As suggested on the site, I've added an entry to cron to perform these updates every 15 minutes:
Unfortunately I'm getting e-mails, whenever the command is ran.
So far I've tried changing it to:
And I'm still getting an e-mail with the output.
How can I get rid of it?
I'm using onetimedns.net for my dynamic DNS needs, and I have e-mail reporting set-up.
As suggested on the site, I've added an entry to cron to perform these updates every 15 minutes:
Code:
00,15,30,45 * * * * /usr/local/bin/curl "https://onetimedns.net/set?name=myhostname&secret=mypassword"
Unfortunately I'm getting e-mails, whenever the command is ran.
So far I've tried changing it to:
Code:
00,15,30,45 * * * * /usr/local/bin/curl "https://onetimedns.net/set?name=myhostname&secret=mypassword" > /dev/null
Code:
00,15,30,45 * * * * /usr/local/bin/curl "https://onetimedns.net/set?name=myhostname&secret=mypassword" &> /dev/null
Code:
00,15,30,45 * * * * /usr/local/bin/curl -s "https://onetimedns.net/set?name=myhostname&secret=mypassword"
And I'm still getting an e-mail with the output.
How can I get rid of it?