I'm trying to set up porkbun dynamic dns python script to run at reboot via Cron (later I'd like to run it hourly, but baby steps...) following porkbun's tutorial https://www.youtube.com/watch?v=B2y3vT35sSE
I can run the job manually outside of Cron, but I cannot for the life of me get this to work via Cron.
I've searched the topic and tried lines that have fixed similar (not related to this particular script) issues, but I've had no luck.
Below is the cronjob (note that [domain.name] is in place of my actual domain name for privacy, but not what's in the script):
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/home:/root
@reboot /usr/bin/python3 /usr/local/www/porkbun-dynamic-dns-python/porkbun-ddns.py /usr/local/www/porkbun-dynamic-dns-python/config.json [domain.name]
instead of waiting an hour
... set cron to run the job every 2 minutes