Hi Grigory,

When using a short config name, robinhood also looks for config files in 
the current directory,
and fails if there are no or too many choices.
As cron PWD may not be the same as when your run the command manually, 
it can explain
this unexpected result.
So if your run commands in cron, it is recommended to specify a full 
config path.

Thomas

On 01/27/15 18:09, Grigory Shamov wrote:
> Hi All,
>
> When I ran rbh-report interactively, with sufficient permissions, it all
> works as expected. But when I tried to run the same script from a cron
> job, it looks like every rbh-report invocation (like, "rbh-report -f myfs
> -u myuser") fails with:
>
> "input in flex scanner failed"
>
> I suspect it is an issue with cron (having different environment there);
> but what precisely should be added to the environment, what dependency?
> Robinhood is installed as RPM so it should be under system's usual folders
> like /usr/sbin .
>


------------------------------------------------------------------------------
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

Reply via email to