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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ wpkg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wpkg-users
