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/archivelogs
2004-09-10 11:31:11 +00:00

8 lines
201 B
Tcsh
Executable file

#!/bin/tcsh
#$Id$
set currentlog="/tmp/smt.log.`date +"%y%m%d"`"
touch $currentlog
chown root.users $currentlog
chmod 640 $currentlog
setenv REMOTE_USER msyslog
/var/www/html/scripts/php/archive.php