!7 cmodule2 CleanJavaXCache > DynPrintLogAndEnabled { switchable int retentionHours = 48; switchable bool verbose = true; start { // Do it after 10 secs if module was just added, otherwise wait an hour doEvery(dm_osStarting() ? 3600.0 : 10.0, 3600.0, r doIt); } void doIt enter { if (!enabled) ret; cleanJavaXCache(retentionHours, verbose); } }