Hello,
I'm trying to execute a report command using a Notification (event =
savegroup; priority = notice, warning) without success. I've been using
Notifications without problems to send by email savegroup reports.
This notification executes the following command file:
e:\legato\reporting\lcfib\update.bat
And this file has the following content:
@ECHO OFF
SET OLD_PATH=%PATH%
SET
PATH=E:\legato\nsr\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\
cygwin\bin
PUSHD E:\legato\reporting\bin
::
:: Buscar si está ya en ejecución
::
PS -aW | FIND /I "NSR_REPORTER" > NUL
IF "%ERRORLEVEL%"=="0" GOTO FINAL
START NSR_REPORTER_4.0.6-P3.exe -s legato_server -q "1 month ago" -D
DD/MM/YYYY -monitor -hdle 730
:FINAL
POPD
SET PATH=%OLD_PATH%
This script checks if NSR_REPORTER is running and, if it isn't, then
executes the command to generate the report. I've test this execution using
"NSR_REPORTER", "START /WAIT NSR_REPORTER" too without success.
The problem is that the NSR_REPORTER command doesn't finish, it starts
creating a folder structure for the report (some files) but the final report
isn't generated.
Is this a timeout problem? Could it be a privilege problem? Which account
executes this command? Is the same account that executes the Networker
services? (i.e. system).
Any idea?
Thank you very much.
--
o o o Manel Rodero | LCFIB - UPC
o o o Helpdesk Manager | Campus Nord - Modul B6
o o o Laboratori de Calcul | Jordi Girona, 1-3
U P C Facultat Informatica Barcelona | 08034 Barcelona (Spain)
|
manel AT fib.upc DOT edu | Tel: +00 34 93 401 6940
http://www.fib.upc.edu/~manel | Fax: +00 34 93 401 7040
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu
if you have any problems
wit this list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|