Skip to content

Nightly timer doesn't execute at nightly time #483

@andiempett

Description

@andiempett

the nightly timer executes every number of seconds until the next nightly timer.
to reproduce:
its 14:00
set nightly to 14.02
start galicaster
seconds to nightly is 120s
nightly executes at 14:02
then nightly executes again at 14:04.

    def init_timer(self):
        GObject.timeout_add_seconds(self.get_seg_until_next(), self.__notify_timer_daily)

this works fine for a set interval, but as this doesnt run again, the timer is stuck at whatever it started as

expected behaviour:
timer waits untill next nightly time (like 24 hours) to execute

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions