Categories
Free Open Source Software (FOSS) Free to use TIK World Wide Web

Regularly clear the log on Kloxo

Kloxo is one of the free hosting panel is very easy to use. Kloxo was released by LxCenter.

With Kloxo, then you will be able to easily set the nameservers, email, domain and added others. Kloxo panel has a feature that is no less complete with WHM and cPanel.

 

In this blog, I will discuss about the script cron job in order to clear log in Kloxo periodically:

 

  1. Establish cleankloxo.sh file /etc/cron.daily/
1
2
vi /etc/cron.daily/cleankloxo.sh
Document reads as follows
1
2
3
4
5
6
7
8
9
# !/bin/bash
rm -rf /home/*/__processed_stats/*
rm -rf /home/kloxo/httpd/lighttpd/*
rm -rf /var/log/kloxo/*
rm -f /home/httpd/*/stats/*
echo "Clear log completed"
echo "start Corrected statistics"
cd /usr/local/lxlabs/kloxo/httpdocs/
lphp.exe ../bin/collectquota.php

 

2.Give the file execute certain access rights.

1
chmod 755 /etc/cron.daily/cleankloxo.sh

 

3.Run

1
/etc/cron.daily/cleankloxo.sh
Kloxo Control Panel Admin – Telkom University

To install kloxo you can download manual book from Bharat Vashist https://www.shineservers.com here  Kloxo Installation Manual Book

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from Just Shared on Tel-U

Subscribe now to keep reading and get access to the full archive.

Continue reading