Is is possible to configure a job that visits a URL every 24hrs (to update my router IP)?
Thanks
Is is possible to configure a job that visits a URL every 24hrs (to update my router IP)?
Thanks
I think you want this: Cron and crontab [Old OpenWrt Wiki]
You can log into the Luci GUI (advanced) and go System=> Scheduled tasks.
Writing the task is another story.
yes, exactly
You can use wget or curl for this. (wget will be installed, you might have to install curl).
This is one explanation: https://www.duckdns.org/install.jsp
also here: http://www.techrapid.co.uk/linux/updating-dynamic-dns-ddns-with-wget-on-linux/
with cron, it is better to write a script, and use it, because the arguments will cause problems; also, use full paths, and leave a blank line at the end of the crontab (i.e. scheduled tasks window).
i.e.
crontab, everyhour on the hour:
0 * * * * /bin/sh /full/path/to/script
script:
#!/bin/sh
wget -q https://[email protected]:[email protected]/nic/update > /dev/null 2>&1v
you will have to work out the details