Location for script data storage
I have a script which gets run by cron to check my cable modem's IP address, and email me if it changes.
So, inbetween hourly invocations, I need to store the last IP I got to check against next time.
What's the best location to store something like that? Probably not /tmp, because it's not really a "temp" file, and that location may be cleaned on reboot. There's also /var/run where some daemons seem to store their pids, but my script isn't really running between invocations.
Thanks
|