[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] BBWin 0.11 Centralised Config problems
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] BBWin 0.11 Centralised Config problems
- From: ndegz <nndegz (at) gmail.com>
- Date: Fri, 4 Apr 2008 10:21:49 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=T2rDlxt/Tqu6TT/eLvSDfogz5GgyKGuPOsenrFK/lkU=; b=pLJk8UyEVL/CaqG/dFTwEw5likKX6G5wRRd3kRd6InyjVinlTFKA1grmG1K2uDXSZVB4dwsx3tJtsoNJ3S5dl1MM+l2DCKP3bQhFxdKa/aNGrITX0iRETHGALFuPvUZayrinQ0cTHIGYy/WKM1N6j5XT9yEJ5IlLqfehfOhQX4Q=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=hojQcfNnS3xPBhVu2p4H5my3hQSE8y6W1Dbgn7cUy1FmNyhrAYv/ryiriKWNPqfQEjdPh+5ELkCNVR1vwmanMtlPNWJBVpbgJgJXXpVeNql0HQmQ+V9MeMI2nPsK03j0MP7ICsXfluej9lZNogVDBssOpHaB8O2lGYgJNrHqrWc=
- References: <OF9E81592A.C87E440C-ON6925741E.008074D9-6925741F.0000485C (at) nt.gov.au> <68e737a10804030529j50cfc16ag2dd80f96d4100d06 (at) mail.gmail.com> <a3f6b7e50804030640v75914205pc6f28d3749b14548 (at) mail.gmail.com> <68e737a10804030712w18d2ae5dk7856e59aea558e4a (at) mail.gmail.com>
Hi Etienne,
Thanks for the info. I'm now trying to implement a vbs script solution (
perl is out of the question at the moment) and i'm getting errors. How do
you run a vbs script from client-local?
I've tried the following
file:`C:\listing.vbs`
[WARN]: [files]: C:\listing.vbs command failed : The handle is invalid.
I tried this also
file:`cscript C:\listing.vbs`
and i get this error
[WARN]: [files]: Unknow hash type for file configuration : \listing.vbs`
listing.vbs is a script i borrowed from microsoft's scripting repository
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colFileList = objWMIService.ExecQuery _
("ASSOCIATORS OF {Win32_Directory.Name='C:\CFusionMX\Mail\Spool'} Where
" _
& "ResultClass = CIM_DataFile")
For Each objFile In colFileList
Wscript.Echo objFile.Name
Next
On Thu, Apr 3, 2008 at 10:12 AM, Etienne Grignon <etienne.grignon (at) gmail.com>
wrote:
> Hello Nick,
>
> 2008/4/3, ndegz <nndegz (at) gmail.com>:
> >
> >
> > > You should use [win32] instead of [dcstest2] in your
> > > client-local.cfg because in your bbwin.cfg, the configclass is set to
> > > win32 (<setting name="configclass" value="win32" />). Once you will do
> > > that, BBWin, will get the rules you have set to ignore some events.
> > >
> > Does this mean that you cannot have a client entry in client-local.cfg
> or
> > can we change the configclass in bbwin.cfg?
>
> If you want to use something else than win32, then you will have to
> change the default configclass value in the bbwin.cfg file.
>
> > Also the `COMMAND` config parameter in client-local.cfg don't appear to
> > work. I have the following entry in my client-local.cfg
> >
> > file:`C:\listing.cmd`
> >
> > The listing.cmd file contains the following entry
> > dir "C:\CFusionMX\Mail\Spool"
> >
> > hobbit-client.cfg contains
> > FILE %C:\CFusionMX\Mail\Spool\.* MTIME>600 COLOR=red TRACK
> >
> > But all i get is a No Files Checked in the status window
> >
>
> Can you check the output of the command "dir "C:\CFusionMX\Mail\Spool"
>
> The output has to be very clean like this :
> dir "C:\CFusionMX\Mail\Spool"
> C:\CFusionMX\Mail\Spool\mail1
> C:\CFusionMX\Mail\Spool\mail2
> C:\CFusionMX\Mail\Spool\mail3
>
> If you get something like this :
> C:\Program Files\BBWin\tmp>dir
> Volume in drive C is MainDisk
> Volume Serial Number is XXXX-XXXXX
>
> Directory of C:\Program Files\BBWin\tmp
>
> 20/02/2008 19:15 <DIR> .
> 20/02/2008 19:15 <DIR> ..
> 20/02/2008 17:15 6 736 bbwin.cfg.work
> 20/02/2008 19:14 1 367 clientlocal.cfg
> 20/02/2008 19:15 274 logfetch.status
> 20/02/2008 19:14 208 287 msg.winxp.txt
> 4 File(s) 216 664 bytes
> 2 Dir(s) 8 418 668 544 bytes free
>
> C:\Program Files\BBWin\tmp>
>
> then it won't work.
>
> You shall need to use something else than the dir command. You may
> write a small perl or vbscript which is more powerful than the dos
> commands.
>
> Best regards,
>
> --
> Etienne GRIGNON
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>