Unifi easy encrypt glennr certificate renewal

Hi,

I installed the following script Glenn R. a few months ago, i am using dns challenge (cloudflare api).

That part is working perfectly but i was under the impression that it would automatically renew itself and that seems not the case.

So i was wondering i someone is using this and know how to make the renewel automatically happen.

Do i need to create a cron for it using crontab -e and what should u put in there? Exactly the same line that i was using to register the cert.

that was somenthing like

unifi-easy-encrypt.sh -skip --fqdn unifi.demo.com --email info@demo.com --dns-challenge --dns-provider-credentials /cloudflare/cloudflaredemo.inite code here