schedule compact.both period and at startup