[wpkg-users] WPKG runningstate not working?

heiko.helmle at horiba.com heiko.helmle at horiba.com
Thu Sep 22 11:05:35 CEST 2016


Hello Nils,

you're right. there is no code in wpkg.js that will set runningstate to 
true.

but it will get set to false (in function reboot() and exit() )

i don't know if this is a bug or deliberate though... but you can set it 
before starting wpkg.js and it will set it to false on exit. As wpkg.js 
never checks or reads it (it only writes) this should work.

Best Regards
 Heiko



From:   Nils Thiele <it.service.kultur at uni-hamburg.de>
To:     WPKG-Mailinglist <wpkg-users at lists.wpkg.org>
Date:   22.09.2016 10:55
Subject:        [wpkg-users] WPKG runningstate not working?
Sent by:        "wpkg-users" <wpkg-users-bounces at lists.wpkg.org>



Hey,

Currently working on wpkg-gp client and thought about implemented a 
check to not accidentially run wpkg twice at the same time

(checking for updates while also running a synchronisation or if another 
user logged on is running something)

I stumbled upon the wpkg registry key that should display if it is 
running but i have tested this now quite a few times and the value of 
"running" won't change to true if its executed through wpkg-gp r 
manually, i checked the wpkg config but it should display.

Just wondering if this is working for anyone else because i could only 
check this on one system.

If it is in fact broken, i think i implement this into wpkg-gp.

Thanks!

Greetings,

Nils


-- 
IT-Support - Fachbereich 09 Kulturgeschichte und Kulturkunde
Universität Hamburg
Flügelbau West, R. 204
Edmund-Siemers-Allee 1
D-20146 Hamburg
Tel.: +49-40-42838-3024
Email: it.service.kultur at uni-hamburg.de

---------------------------------
wpkg-users mailing list archives >> 
http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
https://lists.wpkg.org/mailman/listinfo/wpkg-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20160922/1636474a/attachment.html>


More information about the wpkg-users mailing list