ispCP - Board - Support
parts of cron not running ? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: parts of cron not running ? (/thread-1444.html)

Pages: 1 2


parts of cron not running ? - Eminos - 10-02-2007 08:47 AM

Hi,

I took a look at my syslog and noticed that only the awstats, php4 and php5 cron files are beeing executed, NOT the ispcp one.
The file /etc/cron.d/ispcp is there, and it seems to be well configured.

I'm using a couple of days old trunk version.

/E


RE: parts of cron not running ? - grungy - 10-02-2007 09:00 AM

http://www.isp-control.net/forum/crond-t-1443.html ?


RE: parts of cron not running ? - Eminos - 10-02-2007 09:04 AM

Yes I saw your post, but what do you mean? Do I need to put the etc/cron.d/ispcp into crontab ?? I'm pretty sure that's not necessery, since all files in the etc/cron.d/ folder should be run as cronjobs right?
My problem is that only the php4, php5 and the awstats file are running but NOT the ispcp file, even though it's there.

/E


RE: parts of cron not running ? - grungy - 10-02-2007 09:09 AM

I mean if you run
Code:
crontab /etc/cron.d/ispcp
does it run smoothly or show some errors?


RE: parts of cron not running ? - Eminos - 10-05-2007 01:57 AM

crontab /etc/cron.d/ispcp
"/etc/cron.d/ispcp":34: bad day-of-week
errors in crontab file, can't install.

That's what I get .. Sad

Line 34 is:

# [domain.com]:200 custom task START.
0 0 3 2 1190900438 1 {C0MMAND} &>/var/log/ispcp/custom-task-domain.com.log
# [domain.com]:200 custom task END.


RE: parts of cron not running ? - grungy - 10-05-2007 02:02 AM

Same problem here....

Eminos Wrote:crontab /etc/cron.d/ispcp
"/etc/cron.d/ispcp":34: bad day-of-week
errors in crontab file, can't install.

That's what I get .. Sad

Line 34 is:

# [domain.com]:200 custom task START.
0 0 3 2 1190900438 1 {C0MMAND} &>/var/log/ispcp/custom-task-domain.com.log
# [domain.com]:200 custom task END.



RE: parts of cron not running ? - Eminos - 10-05-2007 02:04 AM

Does this has something to do with your awstats integration? I have implemented that, all is working except cron (and authentication).

/E


RE: parts of cron not running ? - grungy - 10-05-2007 02:04 AM

I commented out the tpl file -
Code:
/etc/ispcp/cron.d/parts/dmn_custom_entry.tp
it is now ok, but you need to manually delete the custom entries from
Code:
/etc/cron.d/ispcp
and
Code:
/etc/isp/cron.d/working/ispcp



RE: parts of cron not running ? - grungy - 10-05-2007 02:06 AM

could be but I examined the source and could not find the reason why...but again I am not a coder...

Eminos Wrote:Does this has something to do with your awstats integration? I have implemented that, all is working except cron (and authentication).

/E



RE: parts of cron not running ? - Eminos - 10-05-2007 02:08 AM

I mean, what is ISPCP usting the "custom task" for ?
It only says "{C0MMAND}" in the working file, so something is messed up.

/E