Old 19th July 2013, 11:15
keshwarsingh keshwarsingh is offline
Join Date: Apr 2013
Posts: 31
Thanks: 2
Thanked 1 Time in 1 Post

Originally Posted by till View Post
Did you change the php path like I explained above?

Yes i did!

ISPConfig is automatically adding the users' home path before the command to be executed.

For e.g if you want to run /usr/bin/php -f blah blah blah in classic mode each 5 mins (installing through crontab -e), it works just fine.

If you login wether as admin or the client & install the same cron job, it automatically adds the users home directory before the command /usr/bin/php -f..
Sponsored Links
Old 19th July 2013, 11:16
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

Originally Posted by keshwarsingh View Post
Ok i just tried the following as command..

/usr/bin/php -f .....

The cron job is created, but when i login via ssh & sniff the content of /etc/cron.d/ , the content is as follows...

*/5 * * * * web4 /var/www/clients/client1/web4/usr/bin/php -f .....

Why is it putting the home path before the command /usr/bin/php -f ? seems to be chrooted ..
Works fine here in ISPConfig, just verified it. I logged in as client (the client has set max allowed cronjob typs to fullcron) and added a cronjob with the following input in the command field:

/usr/bin/php -f /tmp/hallo.php
and the resulting cronjob is:


10      10      *       *       *       web17   /usr/bin/php -f /tmp/hallo.php #rs1c11.de
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Old 19th July 2013, 11:27
keshwarsingh keshwarsingh is offline
Join Date: Apr 2013
Posts: 31
Thanks: 2
Thanked 1 Time in 1 Post

It now works.

For some unknown reasons, the cron was still in the "Show Jobqueue"
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem access ispconfig url wearth General 1 30th May 2013 14:50
No dns zone files created? sjau Installation/Configuration 7 13th March 2012 14:15
Loads of mysql connections to dbispconfig StrikerNL General 2 5th March 2009 15:31
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 23:47
Cron jobs from within ISPConfig - Dont want emails robit Installation/Configuration 5 21st July 2008 18:53

All times are GMT +2. The time now is 13:00.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.