Task-Server: vor Schlafen temporäre Dateien aufräumen
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 4 Jan 2016 14:02:41 +0000 (15:02 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 4 Jan 2016 14:02:41 +0000 (15:02 +0100)
scripts/task_server.pl

index 1de0a67..47fe595 100755 (executable)
@@ -111,6 +111,8 @@ sub clean_before_sleeping {
   Form::disconnect_standard_dbh;
   SL::DBConnect::Cache->disconnect_all_and_clear;
   SL::DB->db_cache->clear;
+
+  File::Temp::cleanup();
 }
 
 sub drop_privileges {