This repository has been archived on 2025-02-12. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
CLF/html/scripts/bin/createtmpoutputfiles
2004-09-10 11:31:11 +00:00

12 lines
364 B
Tcsh

#!/bin/tcsh
#$Id$
# this script can be used to create output files in /tmp so expirelogs.php and processlogs.php
# can both have their debug output saved to disk
set loop=0
while ( $loop != 5 )
set loop=`expr $loop + 1`
cp /dev/null /tmp/webresults.html.$loop
chmod 640 /tmp/webresults.html.$loop
chown root.users /tmp/webresults.html.$loop
end