[wpkg-users] frequency of wpkgservice checking for new installs
Tomasz Chmielewski
mangoo at wpkg.org
Mon Jun 11 21:36:14 CEST 2007
Brad Langhorst schrieb:
> On Sun, 2007-06-10 at 22:28 +0200, Tomasz Chmielewski wrote:
>> Brad Langhorst schrieb:
>>> On Sun, 2007-06-10 at 22:07 +0200, Tomasz Chmielewski wrote:
>>>> Brad Langhorst schrieb:
>>>>> On Sun, 2007-06-10 at 11:11 +0200, Tomasz Chmielewski wrote:
>>>>>> Brad Langhorst schrieb:
>>>>>>> it only seems to check during bootup...
>>>>>>>
>>>>>>> can i configure it to check more often?
>>>>>> stop/start the service using the task scheduler is one example how you
>>>>>> can do it.
>>>>> hmm - why does the service keep running if it will never do anything?
>>>>> Some MS services just stop when they have nothing left to do.
>>>> Currently, it works like that.
>>> okay - maybe i could add a feature to have it check periodically the
>>> wpkg directory for a flag file telling it to initiate a sync?
>>>
>>> that way one could install software everywhere without having to reboot
>>> or restart the service remotely.
>> What do you mean by a "flag file"?
> i mean a special file that an administrator could create to trigger a
> sync.
> eg: \\rococo\wpkg\FORCE_SYNC
>
> if the file is present when the service polls the service could start a
> sync.
Well, it's not enough.
So we create a file there, and don't remove it... What happens? We could
read some timestamps - what if the clocks are out of sync?
So, we would have to check and remember timestamps - but what if WPKG
starts, and the file is already there?
Yes, lots of "if"s :)
--
Tomasz Chmielewski
http://wpkg.org
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list