Thread: Cron Job
View Single Post
  #2  
Old 7th February 2011, 14:12
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,019
Thanks: 826
Thanked 5,379 Times in 4,226 Posts
Default

You have to use the full path to a command in cronjobs on Linux. So the path is something like /usr/bin/php .... and not just php.

To find the path of the php binary on your server, use the command:

which php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote