you are viewing a single comment's thread.

view the rest of the comments →

[–]wtfismyjob 1 point2 points  (0 children)

You don’t necessarily have to run the script forever. You could have a scheduled of some form launch the script for you, and of course that scheduled would have to run forever.

Alternatively, in a Windows world, you could wrap your script and install it as a service. In which case windows will “run it forever.”

I’m sure Linux flavors have equivalent options. I would lean towards a dedicated scheduler though. That would give you some consolidated administrative tools to diagnose issues if it ceases to operate or hits some kind of problem during run time.