Hi Josep,
On May 23, 2006, at 14:00, [EMAIL PROTECTED] wrote:
I'm trying to create script to make automatic updates of plugins to
several
servers. I'm still using the free version of sharity since I haven't
received the registration key.
I've checked our records but did not find a pending order. If you
order through the online shop, you should receive your license key
immediately. If not, please contact our support.
The script logs me to a server, then mounts it and transfers the new
plugins to it. The problem is that the transfer hungs after a few
files. I
don't know if this is a limitation of the trial version or some other
problem.
This is NOT a limitation of trial mode.
Here's the script, stripped to the bare bones for simplicity:
/opt/sharity3/bin/sharity login smb://bcnofimatic -U jam1ss
(It asks for the password)
You could use the keychain to store the password, that would simplify
your script.
/opt/sharity3/bin/sharity mount smb://bcnofimatic/BCNComun /opt/
plugins
rsync -vaz --delete -b /opt/plugins_origen/
/opt/plugins/ISIS/scripts/aplicacion/aceptacion/plugins_dest/
(this is just a sincronization, but i've tried to use
'cp' and it
hangs also)
[...]
If you can reproduce the problem using 'cp', please create a debug
log of it. We prefer 'cp' for debugging because its behavior is much
more predictable than that of 'rsync'.
To create a debug log please type (as root):
rm -f /tmp/sharity-debug.log
sharity debug file logLevelsDebug
Then reproduce the problem, and to turn off debugging:
sharity debug syslog
The resulting debug log is in the file /tmp/sharity-debug.log.
Regards, Christian.
--
DI Christian Starkjohann <[EMAIL PROTECTED]>
OBJECTIVE DEVELOPMENT Software GmbH
_______________________________________________
Sharity-talk mailing list
[email protected]
To unsubscribe see http://at.obdev.at/mailman/listinfo/sharity-talk