Hi,
I'm writing a script which is to be executed hourly. It basically works as:
- Read the datafile if it exists.
- Perform an action if the datafile has certain contents.
- Write over or create the datafile.
I will put the script in /etc/cron.hourly/ on Ubuntu which will make it execute once each hour.
What would a good place to store the datafile? The script is run as root.