Blame logwatch.cron

Packit 57988d
#!/bin/sh
Packit 57988d
Packit 57988d
#Set logwatch location
Packit 57988d
LOGWATCH_SCRIPT="/usr/sbin/logwatch"
Packit 57988d
#Add options to this line. Most options should be defined in /etc/logwatch/conf/logwatch.conf,
Packit 57988d
#but some are only for the nightly cronrun such as --output mail and should be set here.
Packit 57988d
#Other options to consider might be "--format html" or "--encode base64", man logwatch for more details.
Packit 57988d
OPTIONS="--output mail"
Packit 57988d
Packit 57988d
#Call logwatch
Packit 57988d
$LOGWATCH_SCRIPT $OPTIONS
Packit 57988d
Packit 57988d
exit 0