Current time: 09-28-2024, 09:20 AM Hello There, Guest! (LoginRegister)


Post Reply 
parts of cron not running ?
Author Message
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #1
parts of cron not running ?
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
10-02-2007 08:47 AM
Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #2
RE: parts of cron not running ?
http://www.isp-control.net/forum/crond-t-1443.html ?
10-02-2007 09:00 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #3
RE: parts of cron not running ?
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
10-02-2007 09:04 AM
Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #4
RE: parts of cron not running ?
I mean if you run
Code:
crontab /etc/cron.d/ispcp
does it run smoothly or show some errors?
(This post was last modified: 10-02-2007 09:10 AM by grungy.)
10-02-2007 09:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #5
RE: parts of cron not running ?
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.
(This post was last modified: 10-05-2007 01:59 AM by Eminos.)
10-05-2007 01:57 AM
Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #6
RE: parts of cron not running ?
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.
10-05-2007 02:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #7
RE: parts of cron not running ?
Does this has something to do with your awstats integration? I have implemented that, all is working except cron (and authentication).

/E
10-05-2007 02:04 AM
Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #8
RE: parts of cron not running ?
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
(This post was last modified: 10-05-2007 02:05 AM by grungy.)
10-05-2007 02:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #9
RE: parts of cron not running ?
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
10-05-2007 02:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #10
RE: parts of cron not running ?
I mean, what is ISPCP usting the "custom task" for ?
It only says "{C0MMAND}" in the working file, so something is messed up.

/E
10-05-2007 02:08 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)