Re: [PHP] Executing CRON from a WebForm..

2003-11-14 Thread Chris Hayes
At 22:52 14-11-2003, you wrote: Hi!!. I'm trying to give users the chance to modify its cron from a webform. The webform let's the users choose the day, month and minutes after hour, then, using PHP I made one long string and save it into a file ($tmpnam), it looks like this: $content =

Re: [PHP] Executing CRON from a WebForm..

2003-11-14 Thread Andres Villalobos Camacho
Sorry. The problem is that I cannot get the crontab command executed. I did try with the backsticks, but it didn't work either. I have different users, login in to the website using phpSecurePages, how can I let them change their crontab? Is my approach too wrong?? Any ideas?? Thanx.. On Fri,

Re: [PHP] Executing CRON from a WebForm..

2003-11-14 Thread Raditha Dissanayake
Hi, reply without trying your code: You might need suexec to achieve this, else i don't belive one user can set the cron jobs for another user. Remember apache is usually running as a non privileged user. Andres Villalobos Camacho wrote: Sorry. The problem is that I cannot get the crontab