keith_k

Using the same Lua script in multiple places

Discussion created by keith_k on Oct 24, 2008
Latest reply on Oct 28, 2008 by keith_k
I was wondering if there is any reason to avoid using the same Lua script in multiple places in the NAS.  Specifically, I am thinking of the following possibilities:
  • Calling a single script from multiple AO profiles
  • Calling a single script from an AO profile and from the scheduler
The second scenario above seems likely to result in multiple instances of the script running concurrently.  I am not sure how the threading in the NAS works, so I wondered if this could be a problem.  It would be easy enough to create a second script that does basically the same thing, but I would only want to maintain multiple copies if it were really necessary.

Thanks,
Keith

Outcomes