leandroros
(usa Debian)
Enviado em 05/08/2010 - 14:39h
Olha o conteudo do crontab ae faz uma força amigo para me ajudar Leia tudo:
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/scripts
# m h dom mon dow command
# Backup Di�rio do Servidor
03 00 * * * sh /root/scripts/backup_gw.sh
# Organiza os LOG's do SQUID e MESSAGES
00 08 * * * sh /root/scripts/guardalog.sh
00 09 * * * sh /root/scripts/guardalog.sh
#Guarda log dos usuarios
32 12 * * * /root/scripts/relatorio_sarg.sh
00 08 * * 1-5 sh /etc/init.d/firewall restart
00 12 * * 1-5 sh /etc/init.d/firewall_liberado restart
03 13 * * 1-5 sh /etc/init.d/firewall restart
00 18 * * 1-5 sh /etc/init.d/firewall_liberado restart
language English
access_log /var/log/squid/access.log
language English
access_log /var/log/squid/access.log
title "Relatorio Diario"
#### INICIO FORMATAÇÃO ####
font_face Arial
header_color black
header_bgcolor blanchedalmond
header_font_size -2
background_color white
text_color black
text_bgcolor white
title_color black
##### FIM FORMATAÇÃO #########
temporary_dir /tmp
output_dir /var/www/squid-reports
topuser_sort_field BYTES reverse
user_sort_field BYTES reverse
exclude_users /etc/squid/sarg.users
exclude_hosts /etc/squid/sarg.hosts
date_format e
lastlog 0
remove_temp_files yes
index yes
overwrite_report yes
records_without_userid ignore
use_comma no
topsites_num 100
topsites_sort_order BYTES D
exclude_codes /etc/squid/sarg.exclude_codes
max_elapsed 28800000
report_typie topsites users_sites sites_users date_time denied auth_failures site_user_time_date
long_url no
exclude_string /etc/squid/exclude.strings
show_successful_message no
topuser_fields NUM DATE_TIME USERID CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE