Reports 1-1 of 1 Clear search Modify search
DetChar (General)
shoichi.oshino - 11:26 Tuesday 04 April 2023 (24661) Print this report
Modified make segment script
I found that Omicron trigger didn't work in the last 30 minutes of the day.
This is caused by the script for generating segment files, so I modified it.

Detail:
Currently, Omicron trigger can't generate trigger files in the last 30 minutes of the day.
This is because the make15Segment script deletes the previous day's segment files as soon as the date changes.
I temporarily commented out the part about deleting files.
Omicron and this script run at 15 minute intervals, so it might work if we consider the order.
As the klog 24392, Yuzurihara-san plan to switch to use new segment script.
This new script doesn't have the function of generating partial segment files.
So I am considering adding a segment identification feature to Omicron script.
This would allow Omicron scripts to be easier to maintain.
Comments to this report:
shoichi.oshino - 15:38 Thursday 20 April 2023 (24898) Print this report
I found that this problem isn't solved yet.
First, I checked automation_segment.sh script and noticed that when the time around the time date changes, this script read the partial segment file of the same day.
However, at this time, the script cannot find the segment data because the script analyzes the last 15 minutes of the day.
I consider if moving the time forward 15 minutes could solve this problem.
Second, the time set in the crontab is the same for Omicron and Segment scripts.
This leads us to believe that Omicron is analyzing a partial segment that is 30 minutes old.
Therefore, I set the time in crontab so that the partial segment is executed first and then Omicron is executed.
Search Help
×

Warning

×