Thread: Cron Job
View Single Post
  #2  
Old 7th February 2011, 15:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 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