I think I am getting there, but still unsure.
I want to add a value to a hash table called "test" so i.e
hadd -m hashtable test $ctime
I now want an alais to test if that value in the hash table is LESS then a week old, and if it is to execute a command.
i.e
if($hget(hashtable,test) < then a week) { command
}
Sorry for being confusing earlier, I actually need less then a week not more.
Thanks.
p.s anyway for me to test that the code is working, as I do not know $ctime values from over a week ago?
Kindest regards