Do you use absolue paths for the binaries? the value of PATH can be different for the cron 2012.05.05. 12:07, "Yannick Torrès" <yannick.tor...@gmail.com> ezt írta:
> 2012/5/5 Rasmus Lerdorf <ras...@lerdorf.com> > >> On 05/05/2012 01:26 AM, Yannick Torrčs wrote: >> > I just don't know what's appends with the editor. >> > When I start the cron job manually, all is right ; svn up is OK, and all >> > revision tools works perfectly. >> > But when the same cron job start automatically, svn up is "not done" or >> > done with error, don't know. >> >> > Hi Rasmus, > > >> Usually that is caused either by a permission problem or running >> something that requires a controlling tty. I doubt your cron job >> requires the latter. So, for the former, are you running your cron job >> as the same user that cron runs it as when you run it manually? And if >> so, does the environment match? >> > > The cronjob is running automatically as user "apache", and when I start it > manually, I use also this user. > I will check if I found some permission problem. > > > >> >> -Rasmus >> > >