Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running the last version of ISPConfig and all work great while I add a cron job using http:// prefix. My problem is when I try execute directly some PHP scripts as a cron job, I mean, without make a HTTP request to the Apache to avoid timeouts. When I add the cron job, ISPConfig create the file /etc/cron.d/ispc_chrooted_web3 with the following content:


*   *   *   *   *   web3    /var/www/www.example.com/testing.php

I set the right permissions to the file testing.php and even test it using sudo -u web3 /var/www/www.example.com/testing.php and all work great. The testing.php file have #!/usr/bin/php5 as first line.

Seem to me that the problem is related to the SHELL='/usr/sbin/jk_chrootsh' part of the cron entry. I suppose that PHP interpreter is not available in *jk_chrootsh* shell, but I'm not sure, anyway I think that my next step must be add PHP interpreter to *jk_chrootsh*, but I don't know how. Any help?

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.