Thread: Cron Job
View Single Post
  #2  
Old 7th February 2011, 14:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 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