Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 24th September 2012, 02:32
Imam86 Imam86 is offline
Junior Member
Join Date: Aug 2012
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
Unhappy Cron Job php with '.....' in the ending

Hello.. I'd like to ask about php cron job with '....' in the ending.

30 * * * * php -q /var/www/clients/client5/web5/web/billing/services.php 'mailer'

I'm using Debian Squeeze, with ISPConfig
And from this tutorial: http://www.howtoforge.com/perfect-se...ot-ispconfig-3

I configured like this:

Client Limits

Max. number of Shell users : 0
Allowed Cronjob : Chrooted Cron
Cron Job

Command to run: https://example.com/billing/services.php 'mailer'
root@server1:~# ls -la /etc/cron.d
total 40
drwxr-xr-x   2 root root 4096 Sep 23 14:35 .
drwxr-xr-x 105 root root 4096 Sep 23 14:32 ..
-rw-r--r--   1 root root  179 Dec 16  2010 amavisd-new
-rw-r--r--   1 root root  243 Sep 20 15:46 awstats
-rw-r--r--   1 root root   74 Sep 22 04:15 ddos.cron
-rw-r--r--   1 root root 1474 Sep 23 14:44 ispc_web5
-rw-r--r--   1 root root 1393 Sep 20 15:35 mailman
-rw-r--r--   1 root root  506 Sep  6 07:05 munin-node
-rw-r--r--   1 root root  499 Sep 14 05:59 php5
-rw-r--r--   1 root root  102 Dec 18  2010 .placeholder
root@server1:~# cat /etc/cron.d/ispc_web5

30      *       *       *       *       web5    /usr/bin/wget -q -t 1 -T 7200 -O /dev/null 'https://example.com/member/services.php '\''mailer'\''' >/dev/null 2>&1        #example.com

But I got this error:

root@server1:~# cat /var/log/syslog
server1 /USR/SBIN/CRON[25156]: (CRON) error (grandchild #25163 failed with exit status 8)

I really don't understand, I use the same configuration with the other php files, and it's running cron job well, but with '....' in the ending?

I'm sorry for my bad English.

How to solve this..??

Thanks for your help and attention.
Reply With Quote
Sponsored Links
Old 24th September 2012, 03:36
Imam86 Imam86 is offline
Junior Member
Join Date: Aug 2012
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
Smile [solved]

Ohh.. I got it.

I check the php files again.

Cron Job

php -q /var/www/clients/client5/web5/web/member/services.php 'mailer'

The previous setting in ISPConfig:
https://example.com/billing/services.php 'mailer'
It should be:
Because it's not configured to run cron from URL.

This cron job is one of my friend request, but I try to run it with ISPConfig system, and it works now.

Thanks for the ISPConfig developers.

I love you all..
Reply With Quote


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
Only Problems since Updating from to mbay General 4 17th May 2012 13:56
ubuntu and nginx delgado2061 Installation/Configuration 0 28th November 2011 00:36
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 22:13
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 09:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18

All times are GMT +2. The time now is 02:12.

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