Code check, please: Apex auto feeder script

chaostactics

Valuable Member
View Badges
Joined
Jul 5, 2010
Messages
1,155
Reaction score
710
Location
Maryland
Rating - 0%
0   0   0
I want to run an Avast Plank auto feeder for 4 x 30 second feed cycles between 1200 and 2000.

Proposed code

" Fallback OFF

OSC 000:00/00:30/119:30 Then ON

If Time 20:01 to 11:59 Then OFF "


Then I should get a 30 sec feeding period at 1200, 1400, 1600, 2000 ?
 
Your 30 seconds every 2 hours is correct, but your If Time actually allows it to run 5 times:

12:00
14:00
16:00
18:00
20:00
 
I'm looking to have the Plank run for one minute every 4 hours starting at 10AM. Will this code do the trick?

Fallback OFF
OSC 000:00/001:00/119:00 Then ON
If Time 10:01 to 13:59 Then Off
If Time 14:01 to 17:59 Then OFF
If Time 18:01 to 09:59 Then OFF
 
Last edited:

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top