]> git.pld-linux.org Git - packages/awstats.git/commitdiff
- awstats cron script (run with root privs) replaced by a crontab
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 21 Aug 2005 17:47:43 +0000 (17:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    awstats-cron -> 1.7
    awstats.crontab -> 1.1

awstats-cron [deleted file]
awstats.crontab [new file with mode: 0644]

diff --git a/awstats-cron b/awstats-cron
deleted file mode 100644 (file)
index b390de9..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-# update access statistics for the web site
-
-if [ -s /var/log/httpd/access_log ] ; then
-    /usr/bin/awstats_updateall.pl now -config-dir=/etc \
-       -awstatsprog=/home/services/httpd/cgi-bin/awstats.pl > /dev/null
-fi
-
-exit 0
diff --git a/awstats.crontab b/awstats.crontab
new file mode 100644 (file)
index 0000000..e17e957
--- /dev/null
@@ -0,0 +1 @@
+05 * * * * stats umask 002; /usr/bin/awstats_updateall.pl now -config-dir=/etc/awstats -awstatsprog=/usr/bin/awstats.pl > /dev/null
This page took 0.081156 seconds and 4 git commands to generate.