Sean Conner writes:
It was thus said that the Great Jonathan Horne once stated:
On Tuesday 07 November 2006 20:32, [EMAIL PROTECTED] wrote:
> I'm a newbie to Apache, actually, a dummy (:
>
> Can someone please explain to me,
> why am I allowed to restart Apache with
>
> httpd -k {restart|graceful}
>
> while working in shell interactively,
> and am failed to do so if it's done
> as a part of shell script started by cron?
> my first guess, would that maybe you didnt include the path to the binary in your cron statement?

I was thinking the cron job might be running as the wrong user myself ... -spc (But this is getting into the realm of OS issues, not Apache ... )

Thank you very much, guys, and sorry for disturbing.
I fixed the problem by adding the job to the 'root' user crontab
(I did it to an ordinary user crontab before).
Thanks again!
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to