worker: add runOutput function
[hcoop/domtool2.git] / scripts / domtool-reset-global
CommitLineData
6bf33146
AC
1#!/bin/sh
2
3rm -rf ~domtool/nodes/*
4rm -rf ~domtool/serials/*
2d25e552 5# do we really need to purge all webalizer output?
6bf33146
AC
6rm -rf ~domtool/webalizer/*
7
8mkdir ~domtool/webalizer/config
6bf33146 9mkdir ~domtool/webalizer/output
1362b18d 10
cff19695 11for node in 'mccarthy' 'navajos' 'fritz' 'bog' 'outpost'; do
1362b18d
CE
12 mkdir ~domtool/webalizer/config/$node
13 mkdir ~domtool/webalizer/output/$node
14done
15
6bf33146 16
55d4a268
AC
17#for usr in `ls /afs/hcoop/usr`
18#do
19# rm -rf /afs/hcoop/usr/$usr/apache/log/mire/*
20# rm -rf /afs/hcoop/usr/$usr/apache/log/deleuze/*
21#done