diff options
author | Peter Palfrader <peter@palfrader.org> | 2003-06-06 10:36:23 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2003-06-06 10:36:23 +0000 |
commit | 4218368936ee0e3613d29903a333f334b65f63dd (patch) | |
tree | ea2ec0c26ab7a559d9fc6bfd6bbd21eda2c11438 /pingd | |
parent | 5c5d3ec3d283b8454788dad1c72510c1eb4eaf71 (diff) |
Regularily clean up temp dir
Diffstat (limited to 'pingd')
-rwxr-xr-x | pingd | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,7 +3,7 @@ $| = 1; # (c) 2002, 2003 Peter Palfrader <peter@palfrader.org> -# $Id: pingd,v 1.107 2003/06/06 10:29:05 weasel Exp $ +# $Id: pingd,v 1.108 2003/06/06 10:36:23 weasel Exp $ # =pod @@ -555,6 +555,7 @@ sub daemon_run($) { $scheduler->add('expire' , Echolot::Config::get()->{'expire'} , 0, 1, \&expire ); $scheduler->add('getkeyconf' , Echolot::Config::get()->{'getkeyconf_interval'} , 0, 0, \&Echolot::Conf::send_requests ); $scheduler->add('check_resurrection' , Echolot::Config::get()->{'check_resurrection'} , 0, 0, \&Echolot::Conf::check_resurrection ); + $scheduler->add('cleanup_tmp' , Echolot::Config::get()->{'cleanup_tmpdir'} , 0, 1, \&Echolot::Tools::cleanup_tmp ); $scheduler->add('summary' , Echolot::Config::get()->{'summary'} , 0, 1, \&Echolot::Report::print_summary ); |