OK I know the problem, apache user is www-data and this user dont have
permissions to do something like crontab.
I need to pass www-data to root. I try to change user/group with root:root but
when I restart apache, I have an error.
How can I do for execute crontab with shell_exec in PHP ???
Thanks
--- In Dan Weese <> wrote:
>
> On Wed, May 5, 2010 at 6:14 AM, rodriguezromain62 <
> > wrote:
>
> >
> >
> > Hello everybody, I'm not sure my question could be in this group, so I'm
> > sorry if it's not good.
> >
> > I have a problem and i dont know why its not work :
> >
> > I use most of php,ajax & JS with my TS7800,
> > One time I need to use shell_exec. But it doesnt work. I look for the
> > safe_mode and it is disabled.
> >
>
> I use the full exec( $command, $returnArray, $returnVal ) format. Examine
> your $returnArray and $returnValue after execution.
>
> Let me know what you find.
>
> Y puede contestar en Esp. si prefiere....
>
> >
> > I try to do a simple 'cp' with the cmd shell_exec but it still not work :'(
> >
> > any idea ?? thanks a lot ( and sorry for my baaaad english again =) )
> >
> >
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|