The Windows NT/2000 Resource Kit provides two utilities that allow you to create a Windows user-defined service for Windows applications and some 16-bit applications (but not for batch files).
Archive for June, 2010
Create your own user-defined services Windows NT/2000/XP/2003
Author: adminJun 1
How to Update Webalizer Stats on Directadmin
Author: adminJun 1
As you know, Webalizer stats are usually updated once a day, when using a Directadmin server. What to do, if you need more current stats? Here are some solutions (work good for me on CentOS 5).
If you need to update all server accounts, just type in the following command as root:
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
In order to update stats for a single domain, here is another command:
/usr/bin/webalizer -p -n |DOMAIN| -o /home/|USER|/domains/|DOMAIN|/stats /var/log/httpd/domains/|DOMAIN|.log
Just replace |USER| with domain username and |DOMAIN| with domain itself and have fun!