Menu

Can I enable/disable service on Render by cmd

Anonymous
2012-03-16
2012-12-11
  • Anonymous

    Anonymous - 2012-03-16

    I need to enable or disable service on Render at specific time for services management. Does afanasy provide api or command for control ?

    Thanks.

     
  • Timur Hairulin

    Timur Hairulin - 2012-03-16

    Hi. It is not (yet).
    But it is very easy for me to add such command to afcmd. Some "afcmd rsrvon|rsrvoff rendername|mask" - render service on or off render name or regexp pattern".
    Soon there will be 1.6.0 and will be already with it.
    Later i can add it to python api (it is more complex a bit).

     
  • Timur Hairulin

    Timur Hairulin - 2012-03-17

    Done (sources).

    $ ./afcmd h rsrvon
    rsrvon - Msg::TRenderSetService Enable disabled render service.
    rsrvon   Enable disabled render service.

    $ ./afcmd h rsrvoff
    rsrvoff - Msg::TRenderSetService Disable render service.
    rsrvoff   Disable render service.

    All commands you can list by "afcmd h"

     
  • Anonymous

    Anonymous - 2012-03-19

    Oh ! It's cool !
    Thank you very much !

     

Log in to post a comment.