Hi

Problem in the symbol of ">".
File /tmp/test.log is not created.
Running only the first part of the command "ls -la".
"> /tmp/test.log" not worked.


Config file:

Job {
  ...
  Client Run Before Job = "ls -la > /tmp/test.log"
}


Console log:

fd JobId 32287: shell command: run ClientRunBeforeJob "ls -la >
/tmp/test.log"
fd JobId 32287: ClientRunBeforeJob: ls: >: No such file or directory
fd JobId 32287: ClientRunBeforeJob: ls: /tmp/test.log: No such file or
directory
fd JobId 32287: Error: Runscript: ClientRunBeforeJob returned non-zero
status=2. ERR=Child exited with code 2



This is just a test. My working version will be "mysqldump ...> dump.sql"
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to