Script continues running after license expires?

Support
  • Dear Community, Dear Support-team,

    I am currently working on getting a script ready to sell. Now I am thinking about the following situation:
    When someone start the script with eg. a 30-Day-License. Now BAS only checks for a valid license, when the program gets restarted. So someone can just run the script on a server forever, without having to purchase a second license unless either the server or the script crashes.

    I am now searching for a workaround for this issue.

    I was already thinking about using the scheduler, but as far as I know, I can only allow the user to use this feature and not force him to use specific settings, like a restart every 2 days...
    Another solution that would suit for me is limiting the amount of run-throughs. This is because the amount of time one run-through takes can be completely customized by the user.

    Do you guys have any ideas how to work around this issue? I already messaged the support but they are uhm kind of slow in replying...

    Hope you guys have an awesome day
    Ghost

  • @ghostpunktexe said in Script continues running after license expires?:

    Dear Community, Dear Support-team,

    I am currently working on getting a script ready to sell. Now I am thinking about the following situation:
    When someone start the script with eg. a 30-Day-License. Now BAS only checks for a valid license, when the program gets restarted. So someone can just run the script on a server forever, without having to purchase a second license unless either the server or the script crashes.

    I am now searching for a workaround for this issue.

    I was already thinking about using the scheduler, but as far as I know, I can only allow the user to use this feature and not force him to use specific settings, like a restart every 2 days...
    Another solution that would suit for me is limiting the amount of run-throughs. This is because the amount of time one run-through takes can be completely customized by the user.

    Do you guys have any ideas how to work around this issue? I already messaged the support but they are uhm kind of slow in replying...

    Hope you guys have an awesome day
    Ghost

    Currently, the license server is scheduled to update so that the script ends when the license time expires. But until this is done, you can implement this yourself. For example, create a server that contains information about the license, and the script in the loop will send requests to this server.

  • Thank you very much for the solution :)
    Do you have any insights when this will get changed?

  • @ghostpunktexe said in Script continues running after license expires?:

    Thank you very much for the solution :)
    Do you have any insights when this will get changed?

    No one knows. For now, you can just create scripts that don't work indefinitely

  • @Fox Okay thank you very much for the workaround again :)