ispCP - Board - Support
[HowTo] AwStats Static Pages UPDATED - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: [HowTo] AwStats Static Pages UPDATED (/thread-1372.html)

Pages: 1 2 3 4


RE: [HowTo] AwStats Static Pages UPDATED - grungy - 10-05-2007 03:04 AM

Commented out the tpl file -
Code:
/etc/ispcp/cron.d/parts/dmn_custom_entry.tpl

Code:
# Modified by grungy && Snipersister for awstats Support
    $rs = dmn_add_bkp_crontab_data($dmn_data);

    return $rs if ($rs != 0);

did you change to dmn_add_bkp_crontab_data?


RE: [HowTo] AwStats Static Pages UPDATED - Breaki - 10-05-2007 03:08 AM

hm... atm i have to work on other things, but i seems that ispcp checks if awstats is installed or not, and if so, it will add the cronjob for awstats, but awstats is not fully implemented to ispcp --> the command to add the custom cronjob fails and that would be the reason why all your cron's failing. maybe we should wait till awstats is official included to ispCP, or you have to look for the error yourself Wink

Greetz


RE: [HowTo] AwStats Static Pages UPDATED - zpin - 10-05-2007 03:19 AM

Try replacing "dmn_add_crontab_data" with "dmn_add_bkp_crontab_data" in the ispcp-dmn-mngr file...


RE: [HowTo] AwStats Static Pages UPDATED - grungy - 10-05-2007 03:19 AM

Hey I managed to get this stuff to work, but maybe it is better to implement awstat cron jobs using the dmn_custom_entry.tpl template file?


RE: [HowTo] AwStats Static Pages UPDATED - Eminos - 10-05-2007 03:23 AM

grungy Wrote:Hey I managed to get this stuff to work, but maybe it is better to implement awstat cron jobs using the dmn_custom_entry.tpl template file?

Probably is. At least it looks better.
I thinkn I'm about to get your code working as well. But I'm still not sure if the /etc/cron.d/ispcp is run at all.

/E


RE: [HowTo] AwStats Static Pages UPDATED - Eminos - 10-05-2007 03:44 AM

It seems to work now, except that it's not removing the entries in the cron.d/ispcp file when I delete a domain.

/E


RE: [HowTo] AwStats Static Pages UPDATED - grungy - 10-05-2007 03:50 AM

well if you run # crontab /etc/cron.d/ispcp it will be run Wink


RE: [HowTo] AwStats Static Pages UPDATED - Eminos - 10-05-2007 03:53 AM

grungy Wrote:well if you run # crontab /etc/cron.d/ispcp it will be run Wink

Well, yes, but no ?
Why should I put the /etc/cron.d/ispcp file into an own crontab when every file in the cron.d directory is (suposed to be) run anyway ??

/E


RE: [HowTo] AwStats Static Pages UPDATED - diems - 01-29-2008 05:21 AM

Hi,

This works on Debian Etch and IspCp-Omega RC2c ?

tks!


RE: [HowTo] AwStats Static Pages UPDATED - gOOvER - 01-29-2008 12:34 PM

I wouldn't use this HowTo. It's safer to install the latest Trunk or wait until RC3 is released. No one knows what happens, when you try to upgrade later to RC3.