I'm running my Raspberry Pi off an SSH server, and want to be able to access it out of home. Sure, all I need is an IP. But with my terrible internet, it's constantly dropping out. My IP is constantly changing.
To counteract this, I setup a script to test if my IP is the same as it was 30 minutes ago, every 30 minutes. I also have a script set to kill this, so it doesn't go on forever or until reboot.
How can I make my process run itself in the background, without user interaction via. regex like
nohup be self-automated? I want this functionality so I don't need an extra computer open while away. (Again, I'm accessing my Pi from SSH)