require('not_user.script') - is it possible

Discussion in 'C-Bus Automation Controllers' started by senadman, Apr 5, 2019.

  1. senadman

    senadman

    Joined:
    Apr 3, 2019
    Messages:
    4
    Likes Received:
    0
    I was wondering if scripts other than user.scripts can be required.

    For example, if I had a scheduled script that sets two global variables and runs once a day, is it possible to link the scheduled script to a resident script using the require('') function so the variable values can be passed. I have tried but receive error logs.
     
    senadman, Apr 5, 2019
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.