DX Infrastructure Manager

Expand all | Collapse all

Enabling/disabling AO profiles via a LUA script

Jump to Best Answer
  • 1.  Enabling/disabling AO profiles via a LUA script

    Posted 08-02-2012 01:51 PM

    I may be missing something in the documentation, is it possible to enable/disable AO profiles via a LUA script?

     

    I have a requirement to enable/disable a series of AO profiles according to a predefined schedule of dates and times. Currently I’m using the NAS Scheduler but as there is no pattern it’s getting very messy.

     

    I can extract the schedule into a table via a script, it would be good if I could then use this to enable/disable the AO profiles

     

    Regards Richard



  • 2.  Re: Enabling/disabling AO profiles via a LUA script
    Best Answer

    Posted 08-02-2012 03:22 PM

    I believe you are looking for the action.profile() function.



  • 3.  Re: Enabling/disabling AO profiles via a LUA script

    Posted 08-09-2012 11:48 AM

    Doh! How could I have missed that? I must have read through the documentation half a dozen times. :smileyhappy:

     

    Thank you very much!

     

    Regards

     

    Richard