I bought a microbot push funk robot that can also connect to ifttt. i can set the robot so that it presses a button every hour, for example. but i need something that presses a button every 40 seconds, 24 hours a day. the 40 second intervals are important and that it never stops. is this somehow possible and what do i need for it? I really need help.
with Apilio, you can schedule only on minutes, not seconds. There are some services that specialise on scheduling tasks for server tasks - maybe you will find one that supports on seconds scheduling (I quickly searched and found one service from Google, but it also only schedules on the minute). Furthermore, if your tasks needs a super high reliability, using cloud service might not meet your requirements! Apilio and other services usually run reliably, but since there is “internet” and multiple services involved, there is always a chance of failure.
But, there is also some good news: With a bit of craftiness, you can do it with Apilio.
- Setup a time event condition defined by a cron expression that let’s run something every other minute:
0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58 * * * *
- Create a Logicblock triggered by the condition and add three actions, action 2 and 3 with delays:
– action2 (delay 40 seconds)
– action3 (delay 40 seconds)
This will run the Logicblock at 00m00s. Then the actions will be executed: action1 00m00s, action2 at 00m40s, action3 at 01m20s.
At 02m00s the Logicblock will be run again by the time event condition and start the actions again… and so on.
now that really is crafty from the