A script to update Modlogon manually on the H-Sphere Linux server

You may update the Modlogan stats by running this command on the web server:

/hsphere/shared/bin/sudo -u USERNAME /bin/sh -c "cat /hsphere/local/home/USERNAME/logs/DOMAIN.COM/DOMAIN.COM.XXXXXXXX |/hsphere/shared/bin/modlogan -c /hsphere/local/config/httpd/modlogan/DOMAIN.COM.conf"

USERNAME - FTP user login
DOMAIN.COM - domain name
..logs/DOMAIN.COM/DOMAIN.COM.XXXXXXXX - path to log file

Manoj Saturday 09 November 2013 - 7:30 pm | | Default

No comments

(optional field)
(optional field)

Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor.

Remember personal info?
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.