<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?action=history&amp;feed=atom&amp;title=LogCleanerTask</id>
	<title>LogCleanerTask - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?action=history&amp;feed=atom&amp;title=LogCleanerTask"/>
	<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=LogCleanerTask&amp;action=history"/>
	<updated>2026-04-13T09:06:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.7</generator>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=LogCleanerTask&amp;diff=4118&amp;oldid=prev</id>
		<title>G.dimaio: Created page with &quot;==Description==  LogCleanerTask element describes a Task capable of compress log files (or other files as well) older than n days and eventually delete them if older than m days....&quot;</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=LogCleanerTask&amp;diff=4118&amp;oldid=prev"/>
		<updated>2013-10-31T15:22:45Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Description==  LogCleanerTask element describes a Task capable of compress log files (or other files as well) older than n days and eventually delete them if older than m days....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
LogCleanerTask element describes a Task capable of compress log files (or other files as well) older than n days and eventually delete them if older than m days.&lt;br /&gt;
Directory to scan for and file name pattern are configurable.&lt;br /&gt;
&lt;br /&gt;
The following table shows the LogCleanerTask element's attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''task'''&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.scheduler.util.log.LogCleanerTask'''&lt;br /&gt;
|-&lt;br /&gt;
| name || required || Task name.&lt;br /&gt;
|-&lt;br /&gt;
| auto-start || required || If 'true' Task is automatically registered on the timer.&lt;br /&gt;
|-&lt;br /&gt;
| enabled || optional || Task activation status.&lt;br /&gt;
The admitted values are:&lt;br /&gt;
* true&lt;br /&gt;
* false&lt;br /&gt;
|-&lt;br /&gt;
| log-directory || optional || The log directory to be searched for files.&lt;br /&gt;
Can contains [[placeholders]] resolved at runtime and can reference Task and Trigger properties.&lt;br /&gt;
Default to sp{{gv.app.home}}/log.&lt;br /&gt;
|-&lt;br /&gt;
| zip-older-than || optional || If greater than 0 indicates the number of days for the oldest log file to compress.&lt;br /&gt;
Default to 7.&lt;br /&gt;
|-&lt;br /&gt;
| zip-filter || optional || Search pattern for log file to compress.&lt;br /&gt;
Default to: (.*\.log$)|(.*\.log\.\d*$)|(.*\.log\.\d{4}-\d{2}-\d{2}$)&lt;br /&gt;
|-&lt;br /&gt;
| zip-mode || optional || Compression mode:&lt;br /&gt;
* zip    (default)&lt;br /&gt;
* gz(ip)&lt;br /&gt;
|-&lt;br /&gt;
| delete-older-than || optional || If greater than 0 indicates the number of days for the oldest log file to delete.&lt;br /&gt;
Default to 14.&lt;br /&gt;
|-&lt;br /&gt;
| delete-filter || optional || Search pattern for log file to delete.&lt;br /&gt;
Default to: (.*\.log$)|(.*\.log\.\d*$)|(.*\.log\..*\.zip$)|(.*\.log\..*\.gz$)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Might contain the following sub-elements:&lt;br /&gt;
* Description&lt;br /&gt;
* [[Triggers]]&lt;br /&gt;
* [[JbProperties]]&lt;/div&gt;</summary>
		<author><name>G.dimaio</name></author>
		
	</entry>
</feed>