Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
alternc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
domainepublic
alternc
Commits
da08e287
Commit
da08e287
authored
Apr 28, 2014
by
Benjamin Sonntag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing PATH in alternc-awstats cron
parent
1c3d154f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
awstats/alternc-awstats
awstats/alternc-awstats
+6
-5
No files found.
awstats/alternc-awstats
View file @
da08e287
#!/bin/bash
#
Appelé seul, lance les stats AWStats du jour.
#
Appelé avec "all" lance les stats avec tous les fichiers .gz situés dans /var/log/apache
#
Appelé avec un nom de domaine en paramètre, rescanne tous les fichiers .gz pour ce domaine uniquement.
#
Called with no parameters, launch the daily awstats stats
#
called with "all", launch all stats with all apache log files from /var/log/alternc/sites/
#
called with a domain name, launch the stats for this domain from all apache log files
# Include some usefull functions
.
/usr/lib/alternc/functions.sh
cd
/usr/lib/alternc
# AlternC system functions
.
./functions.sh
# Regenerate the awstat etc cache files :
if
[
-x
./awstats.cache.php
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment