Did you know? SWI-Prolog can handle Unix signalsSearch Documentation:
SWI-Prolog owl logoDealing with time and date