How to give maximum time for each script?

  • Hello,

    Bots sometimes freeze completely, for this i want to assign a maximum time to each thread.

    For example: If script started at 12:10 - maximum execution time 12:20.

    If time passes 12:20, fail.

    It's easy to do this with a loop but needs to run in the asynchronous.

    Any ideas?

Log in to reply