Regularly updating configuration and firmware

Inserted or changed with LCOS 8.50

This scenario describes how to regularly update the configuration and the firmware of a device every 24 hours.

Requirements:

Configuration:

  1. Specify the path that the 'LoadFirmware' command uses to source the upload if no other parameters are available. For example, enter the following command to load the firmware from an HTTP server:
    set /setup/Setup/Autoload/Network/Firmware/URL http://www.mycompany.de/firmware/LCOS.upx
  2. Set the conditions for loading the firmware such that only firmware that is newer than that in the device is loaded:
    set /Setup/Autoload/Network/Firmware/Condition if-newer 
  3. Specify the path that the 'LoadConfig' command uses to source the upload if no other parameters are available. For example, enter the following command to load the configuration from an HTTP server:
    set /setup/Setup/Autoload/Network/Firmware/URL http://www.mycompany.de/configuration/LCOS.lcf 
  4. Set the conditions for loading the configuration such that only a configuration that is different from that in the device is loaded:
    set /Setup/Autoload/Network/Config/Condition if-different
  5. Create a cron job that regularly runs the command 'LoadFirmware' at 23:55h:
    cd /Setup/Config/Cron-Table 
    set 1 * * * 55 23 * * * LoadFirmware
  6. Create a cron job that regularly runs the command 'LoadConfig' at 23:59h:
    set 2 * * * 59 23 * * * LoadConfig