Hello,
In a Bourne shell script on a Solaris 8 system I am creating a flag file (/tmp/myscript.flag) when a certain action is performed. Though this script runs every 15 minutes I do not want to perform this action until my flag file is older than n hours (n may be: 6, 12 or 24 hours).
How can I test to see if the date/time of my currently running script greater than n hours from my flag file date/time?
Thanks,
Michael42
In a Bourne shell script on a Solaris 8 system I am creating a flag file (/tmp/myscript.flag) when a certain action is performed. Though this script runs every 15 minutes I do not want to perform this action until my flag file is older than n hours (n may be: 6, 12 or 24 hours).
How can I test to see if the date/time of my currently running script greater than n hours from my flag file date/time?
Thanks,
Michael42