Skip to content

Commit 1498b7c

Browse files
committed
Default Debian cron file
1 parent 2789e8a commit 1498b7c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sites/template.linux/conf/crontab_settings.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,6 @@
9797
######################################
9898
# Run Clam AV Scans #
9999
######################################
100-
00 3 * * * root truncate -s0 /var/log/aspen-discovery/clam_av.log; /bin/clamscan --recursive=yes --quiet -i --exclude-dir=/var/lib/mysql --exclude-dir=/sys --exclude-dir=/data/aspen-discovery/{sitename}/solr7/ --exclude-dir=/var/log/aspen-discovery/{sitename} --exclude-dir=/data/aspen-discovery/{sitename}/covers/small --exclude-dir=/data/aspen-discovery/{sitename}/covers/medium --exclude-dir=/data/aspen-discovery/{sitename}/covers/large --log=/var/log/aspen-discovery/clam_av.log
100+
00 3 * * * root truncate -s0 /var/log/aspen-discovery/clam_av.log; /bin/clamscan --recursive=yes --quiet -i --exclude-dir=/var/lib/mysql --exclude-dir=/sys --exclude-dir=/data/aspen-discovery/{sitename}/solr7/ --exclude-dir=/var/log/aspen-discovery/{sitename} --exclude-dir=/data/aspen-discovery/{sitename}/covers/small --exclude-dir=/data/aspen-discovery/{sitename}/covers/medium --exclude-dir=/data/aspen-discovery/{sitename}/covers/large --log=/var/log/aspen-discovery/clam_av.log
101+
102+
# Debian needs a blank line at the end of cron, make sure to add additional cron lines above this.

0 commit comments

Comments
 (0)