Now I need the script to perform a certain operation at exactly 4:00pm everyday and then exit.
Is there some timer mechanism in perl which lets me define a timer and also lets me define a timer expiry handler which gets executed when the timer expires?
Greatly appreciate any help here.