On Mon, Dec 27, 2010 at 01:41:07PM -0600, Orestes Leal R. wrote:
> Martin Schrvder <[email protected]> wrote:
> >2010/12/27 Orestes Leal R. <[email protected]>:
> >>the 2 programs work ok, but the do not execute from crontab when I
> >>logged
> >>out from console,ssh.
> >>but when I logged on into an ssh session or console session then
> >>execute.
> >
> >Programs started by cron will have a different env(1) than those
> >started from interactive sessions; most notabily $PATH will be
> >different.
>
> Is there any restriction on accesing networks sockets from cron?
There are no such restrictions that do not also restrict programs
started from the shell by/as the same user.
Joachim
--
PotD: databases/pgfouine - PostgreSQL log analyzer
http://www.joachimschipper.nl/