Skip to content

Instantly share code, notes, and snippets.

João Junior jrxpress

Block or report user

Report or block jrxpress

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kevinchappell
kevinchappell / clamav.cron
Created Dec 6, 2015
cPanel ClamAV Cron Job
View clamav.cron
#!/bin/sh
for i in `awk '!/nobody/{print $2 | "sort | uniq" }' /etc/userdomains | sort | uniq`; do
SUBJECT="VIRUS SCAN ${i}"
EMAIL="youremail@yourdomain.com"
# Log location
LOG="/var/log/clamav/${i}-scan.log"
# Quarantine location
You can’t perform that action at this time.