It's midnight! Time to rewrite the dzVents files! WHY?

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
User avatar
Antori91
Posts: 136
Joined: Sunday 12 February 2017 17:12
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: France
Contact:

It's midnight! Time to rewrite the dzVents files! WHY?

Post by Antori91 »

Hello,
I use dzVents scripts initially entered using the Domoticz editor. I notice that each day at midnight, Domoticz rewrite the DzVents script files (see log below).
Why such behavior?

2021-01-14 00:00:00.338 Status: EventSystem: reset all events...
2021-01-14 00:00:00.340 Status: dzVents: Write file: /usr/local/domoticz/var/scripts/dzVents/generated_scripts/LINKYdelestage.lua
2021-01-14 00:00:00.340 Status: dzVents: Write file: /usr/local/domoticz/var/scripts/dzVents/generated_scripts/Heating.lua
2021-01-14 00:00:00.341 Status: dzVents: Write file: /usr/local/domoticz/var/scripts/dzVents/generated_scripts/global_data.lua
2021-01-14 00:00:02.873 Status: Starting manual database backup procedure...
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: It's midnight! Time to rewrite the dzVents files! WHY?

Post by waaren »

Antori91 wrote: Thursday 14 January 2021 23:11 Hello,
I use dzVents scripts initially entered using the Domoticz editor. I notice that each day at midnight, Domoticz rewrite the DzVents script files (see log below).
Why such behavior?
It's part of the refresh routine. It is also done at every domoticz start and on every activate, delete, deactivate, change and create of a script when done from the internal editor. The process delete all files in the generated script dir and rebuild them.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
ak97
Posts: 39
Joined: Saturday 03 February 2018 18:42
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: It's midnight! Time to rewrite the dzVents files! WHY?

Post by ak97 »

can this interfere with the execution of any tasks at 0:00 ?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: It's midnight! Time to rewrite the dzVents files! WHY?

Post by waaren »

ak97 wrote: Thursday 11 March 2021 6:21 can this interfere with the execution of any tasks at 0:00 ?
No.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest