Le 26/01/2015 19:14, Chris Hunter wrote:
> I use the purge_command configuration in the robinhood
> "Purge_Parameters" configuration section eg)
>
>> # By default, purge action is removing the entry
>> # from the filesystem. You can define an alternative
>> # action by specifying a script command.
>> # The following parameters can be specified:
>> # {path}: posix path to the entry
>> #purge_command = ="/usr/bin/move_to_trash.sh {path}";
> Will it check the exit value for custom shell script
> /usr/bin/move_to_trash.sh ?
>
> That is, if the custom script returns a non-zero value (ie. exit -1)
> will robinhood consider this an error ?
Yes. It will consider the purge action as failed and will retry it
during next policy run.
Regards.
>
> thanks,
> chris hunter
> yale hpc group
>
> _______________________________________________
> robinhood-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/robinhood-support
>
>
---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce
que la protection avast! Antivirus est active.
http://www.avast.com
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support