in reply to Signal to a sleeping Perl program
or, in appropriate placeswhile (! -e '/predefined/location/time_is_up') { do {'your thing'}; sleep 900; }
This would cause the script to end if you create that file.exit if -e '/predefined/location/time_is_up';
|
|---|