How to run something once on every start of runner



  • You can use this little LS to collect usage data etc. It will run your defined block/blocks once per runners start. Than skip it until you stop and restart. Enjoy!

    IF "<REGISTER>" Exists
    JUMP #START
    ENDIF
    SET GVAR "REGISTER" "OK"
    ##Put block/script here that you want to run only once on checking started
    ##Rename your first block to START so it can jump to configs real start
    
    #START FUNCTION Constant ##Real configs start 
    

Log in to reply