

Maybe easier to another suggestion, you’re probably using a systemd based distros -
journalctl -b -1 will show you the logs from the previous boot, so you could check that after resetting to see if anything was logged
For some other ideas to narrow down where the issue is…
If you’re stuck in the frozen state, you can Ctrl+alt+delete 7+ times quickly to tell systemd to try to restart the system. If this works, it means init was still able to process messages
If that doesn’t work, you could enable Magic Sysrq Key (if disabled in your distro), and then use the key sequence REISUB to try to see if the kernel is still responding and can reset the system

I put the curl command to update my duckdns IP in cron about 13 years ago, and have never needed to touch it once.
It’s just worked for me