[CentOS] Display a warning message at a certain time ?

Thu Feb 4 16:26:45 UTC 2010
m.roth at 5-cent.us <m.roth at 5-cent.us>

You wrote:
> m.roth at 5-cent.us a écrit :
>>
>> On further thought, here's a nasty one: on that line, echo $PATH. I
>> wonder if you need all the X paths, and maybe LD_LIBRARY_PATH set, for
>> zenity to run.
>>
> I think I do grasp in theory what you suggest, but I wouldn't know how
> to get it into practice.
>
> Anyone got a working solution for this ?

Sure. To see what cron sees, just echo $PATH in that command line. If you
need to put the paths in, you have a choice: put them in your shell
script, before it calls zenity; the other, which I don't care for, is to
put them in your crontab.

        mark