I dont have an apex controller & have never programmed one. I do have a reef octopus skimmer with a neck cleaner. It came with a code to make it turn on every 6 hours for 15 seconds.
[Cleaner]Fallback OFFOSC 000/00:15/359:45 Then ON
Im guessing if you change 15 to 30 it will run 30 seconds.