On April 24, 2017 at 1:41 PM Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
wrote:
On Mon, Apr 24, 2017 at 01:13:13PM -0400, brian@tycho.email wrote:
> >
Which also brings up another issue regarding the currentFor the notifications, I think you have some work in progress already?
notification system, which is if "SoftwareUpdater check" is run on a
schedule and does find updates and displays a notification, depending on
user settings the notification may disappear before the user sees it if
they are not using the system at the time. The current Haiku build does not
have a history view or a dock for missed notifications, so the check mode
is somewhat hampered by this missing feature. Also there is no built-in
task scheduling system, so right now I am conflicted if a custom scheduling
system for just running the check should be added to the package daemon or
not.
>
:)
For the periodic check, I think the best way would be to add a
cron-likesystem, either as a new server or as part of the launch_daemon. Or
maybe
BRoster, not sure wht's the most appropriate place for it.
Doing it in package_daemon sounds like it would be very specific to the
task of running SoftwareUpdater, however, and I think I prefer a more
generic solution.