![]() |
Cron Job not working
Sir, my cron job is not working.
When I check in ISPConfig monitor tab Under monitor tab - ISPConfig Cron - Log, I see following output mkdir: cannot create directory `/var/www/clients/client1/web1/var': File exists mkdir: cannot create directory `/var/www/clients/client1/web1/var/run': File exists mkdir: cannot create directory `/var/www/clients/client1/web1/var/run/mysqld': File exists ln: creating hard link `/var/www/clients/client1/web1/var/run/mysqld/mysqld.sock': File exists invalid shell, /var/www/clients/client1/web1/bin/bash does not exist usermod: no changes Why this problem comes. Please help me. Thanks & Regards ASN |
Please post the settings of your cronjob and the command that you execute.
|
Cron Job Command
Thank you for replay
In site cron job settings Minute - * Hours - * Days of month - * Months - * Days of week - * Command to run - /usr/bin/php -f /var/www/clients/client1/web1/web/admin/cron/cron.php Thanks & Regards ASN |
According to the above errors, you created a jailed cronjob. But the php binary is not in the jail, so the cronjob can not work.
As the cronjob is a php script, you should use a url cronjob instead. Enter as command the url to the php script, e.g.: http://www.yourdomain.tld/admin/cron/cron.php |
Cron Job working
Thank you very much for your reply.
My cron job working. Thanks & Regards ASN |
| All times are GMT +2. The time now is 21:16. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.