!7 cmodule CleanJavaXCache > DynPrintLogAndEnabled { switchable int retentionHours = 48; switchable bool verbose; start { // Do it now if module was just added, otherwise wait an hour doEvery(dm_osStarting() ? 3600.0 : 0.0, 3600.0, r doIt); } void doIt enter { cleanJavaXCache(retentionHours, verbose); } }