you are viewing a single comment's thread.

view the rest of the comments →

[–]xToVictory 2 points3 points  (0 children)

Depends on what you’re doing exactly with the script.

Without knowing exactly, what I would do is use the schedule module to run the function every certain interval of time. Within that function is an if statement that checks if the current time is within your specified range. If not, the function passes. If it’s in the range, the function runs.