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: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 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