1) Row 3 columns: start, finish and status.
2) The start column stores the start date with the datetime type.
3) The finish column stores the end date of the event with the timestamp type.
4) The status column stores status in the text type.
How can you make it so that if the real time coincides with the date of the finish column, it is a complete match. That any text, whatever would be in the status column, changed to the desired one? For example, if it was "Works", then if it matches, it will automatically change to the text "Disabled".