maxisoft/Freenom-dns-updater

crontab no update

xgusto opened this issue · 1 comments

When I run the update manually, then

fdu update /etc/freenom.yml
/usr/local/lib/python3.7/dist-packages/freenom_dns_updater/encrypted_string.py:28: UserWarning: Using default key is not secure at all
  warnings.warn("Using default key is not secure at all")
No record updated

updates all A records.
When I set up crontab
crontab -e
*/3 * * * * fdu update /etc/freenom.yml
The execution is visible in the syslog
Feb 7 19:51:01 debian-10-test CRON[531]: (gusto) CMD (fdu update /etc/freenom.yml)
however, A records on the freenom are not updated

I'd recommend using fdu process instead of running fdu update with cron.