in reply to cron or perl?
Remember this is only usefull, if you have a kind of server program, and you want to call every 900 sec. a special sub, i.e. to read the contents of a directory or something like that.alarm 900; #send alarm after 900 sec $SIG{ALRM} = \&alarm_fnct; # Here should be the code of your allways running server sub alarm_fnct { print "Get alarm Signal"; ... alarm 900; ## and again call alarm after 900 sec. }
Hope this is not 'off topic' :)
----------------------------------- --the good, the bad and the physi-- -----------------------------------
|
|---|