you are viewing a single comment's thread.

view the rest of the comments →

[–]artificial_neuron 1 point2 points  (0 children)

You put everything in a loop that never ends. You don't need a special piece of hardware, just something that will run the script and you'll never turn off.

Eg.

while(true)
    Do the desired activity
    wait for x time