Subject RE: [firebird-support] Re: gsec and stdout on Windows 7
Author Carrell Alex
Hi

On a *nix I pipe gstat,gbak, gsec out to a file
example
/home/firebird/scripts/bom.backup.long.sh >>/home/firebird/logs/bom.backup.`date +\%Y\%m\%d\%H\%M` log 2>&1

nb. this is from a crontab and the date values are escaped.

The resultant log file I monitor occassionally with "tail -f ", which just updates the console with each line appended to the file

No idea of equivalent of windows, but with powershell the must be a way.
Just not an expert with powershell.

alex


-----Original Message-----
From: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com] On Behalf Of weind@...
Sent: 02 February 2010 14:50
To: firebird-support@yahoogroups.com
Subject: [firebird-support] Re: gsec and stdout on Windows 7

In the meantime I found out the following 2 things:

1. If I call gsec with a local security database everything works as expected. The problem only occurs when it's a remote database. In both cases I used local gsec program.

2. If I don't redirect stdout to a file but say "gsec -display | more" I have the same problem: nothing is shown on the console (while it works with more and the local security database).

I hope this helps to solve this problem!



------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Resources item on the main (top) menu. Try Knowledgebase and FAQ links !

Also search the knowledgebases at http://www.ibphoenix.com

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links



This message and any attachments (the message) are intended solely for the addressees and are
confidential. If you receive this message in error, please delete it and immediately notify
the sender. Any use not in accordance with its purpose, any dissemination, copying or disclosure,
either whole or partial is prohibited without prior formal approval. The internet cannot
guarantee the integrity of the message. The companies of Bobst Group do not accept any liability
for data corruption, delay, interception or any modification in relation with this message.