ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Problem php ts7800

To:
Subject: Re: [ts-7000] Re: Problem php ts7800
From: Dan Weese <>
Date: Thu, 6 May 2010 06:39:35 -0700




On Thu, May 6, 2010 at 1:35 AM, rodriguezromain62 <> wrote:
 

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


Huh?  crond handles a crontab, not your process.  Are you trying to write to crontab?  That should be simple enough
 

Thanks



--- In ts-7000%40yahoogroups.com, 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 =) )
> >
> >
> >
>




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU