Am 21.06.2012 12:19, schrieb lad...@web.de:
Am 21.06.2012 12:00, schrieb Sebastian Elner:
Hey,

is there a build-in way to determine if wpkg is still running on a machine? I have some very long running process run by wpkg from the cmd. For example I could imagine wpkg write a lock file to a central location, which is deleted when wokg is done (of course i could do this with a start and end package somehow).

Cheers

Sebastian



Hello Sebastian,

usually the wpkg-share is connected as long as the wpkg script is running. I use a samba-share on a linux-host and the wpkg-clients connects with the username 'wpkg' to the share \\host\wpkg so i can just use

sudo smbstatus -b | grep wpkg
to see which machines are still connected or

sudo smbstatus -b | grep wpkg | grep <computername>
to see if a specific machine is still connected

Olé from Wedding!
Ronny
You could also try to edit <param name='log_file_path' value='\\\\server\\/share/\\dir' /> in the file config.xml to match something like \\\\server\\share\\logs\\wpkg_%COMPUTERNAME%.log.

Ronny

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

Reply via email to