Thread: cron jobs again
View Single Post
  #7  
Old 27th March 2007, 11:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

Quote:
*/10 * * * * /usr/bin/lynx --dump /var/www/web4/web/scripts/admin/cronjobs.php > /dev/null
This can not work, you mx up http path's with filesystem path's. Lynx is a webbrowser.

Do you want to execute your PHP script in in your apache server or as a shell script. In shell scripts you can not use all php functions like e.g. header redirects, thats why I posted you above the instructions on how to execute your script in a browser.

Does it work if you execute this line on the shell:

/usr/bin/lynx --dump http://www.mydomain.nl/scripts/admin/cronjobs.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote