Dep, Khushil (GE Money <Khushil.Dep <at> ge.com> writes: > > Still struggling with why this feature isn't working > for me, I have set the following in bacula-dir.conf for the job in > question:
> RunScript { > RunsWhen = After > RunsOnSuccess = Yes > RunsOnFailure = No > RunsOnClient = Yes > Command = "/bin/rm -rf /tmp/khushil/*" > } Probably there is no file or directory named '*' . I think you dont have wildcard expansion here. ...snippel In addition, the command string is parsed then fed to the OS, which means that the path will be searched to execute your specified command, but there is no shell interpretation, as a consequence, if you invoke complicated commands or want any shell features such as redirection or piping, you must call a shell script and do it inside that script. snappel... http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION00143\ 0000000000000000 best regards, Markus ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users