Rev 1306 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
223 | jmachado | 1 | package pt.estgp.estgweb.services.data; |
2 | |||
3 | import pt.estgp.estgweb.Globals; |
||
4 | import pt.utl.ist.berserk.logic.serviceManager.IService; |
||
5 | import jomm.utils.FilesUtils; |
||
6 | |||
7 | /** |
||
8 | * @author Jorge Machado |
||
9 | * @date 9/Jul/2008 |
||
10 | * @see pt.estgp.estgweb.services.data |
||
11 | */ |
||
12 | public class TmpCleaner implements IService |
||
13 | { |
||
14 | public void run() |
||
15 | { |
||
16 | FilesUtils.deleteOldContent(Globals.TMP_DIR); |
||
17 | } |
||
18 | |||
19 | public static void main(1.5.0/docs/api/java/lang/String.html">String [] args) |
||
20 | { |
||
21 | new TmpCleaner().run(); |
||
22 | } |
||
23 | } |