why update_information dos not work every five minutes?
from PySide6.QtCore import QTimer
from PySide6.QtWidgets import QMainWindow, QWidget, QGridLayout

from client.scheduler import update_informations
from client.user_identification import user_id, first_name, last_name
from client.users_birthdays import BirthdaysWindow
from client.work_time_diagrams import work_time_diagrams

class MyTimeAndBDay(QMainWindow):
    def __init__(self, parent=None):
        super().__init__(parent)
        widget = QWidget()
        diagrams = work_time_diagrams()

        layout = QGridLayout(widget)
        layout.addWidget(diagrams, 0, 0)
        layout.addWidget(BirthdaysWindow(), 1, 0)

        self.setCentralWidget(widget)
        self.setGeometry(0, 0, 270, 270)

        # Create a timer to update the task information every 5 minutes
        self.timer = QTimer(self)
        self.timer.timeout.connect(update_informations(user_id, first_name, last_name))

    def showEvent(self, event):
        super().showEvent(event)
        self.timer.start(300000)  # 300000 milliseconds = 5 minutes
