Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ClamAV or other AV docker available?

Featured Replies

To schedule scans,

 

Disable autostart on the app from the docker tab (otherwise it will do a scan everytime you start the server) - up to you.

 

Run this as a user script on a schedule which you choose.  Will send a start / stop notification with the # of infected files.  You'll have to look at the logs to determine which file(s) are infected

#!/usr/bin/php
<?
exec('/usr/local/emhttp/plugins/dynamix/scripts/notify -e "Antivirus Scan" -s "Antivirus Scan Started" -d "Antivirus Scan Started" -i "normal"');
exec('docker start ClamAV');
for ( ;; ) {
  $status = trim(exec("docker ps | grep ClamAV"));
  if ( ! $status ) break;
  sleep(600);
}
$infected = system("docker logs ClamAV | grep -i 'Infected'");
exec('/usr/local/emhttp/plugins/dynamix/scripts/notify -e "Antivirus Scan" -s "Antivirus Scan Finished" -d '.escapeshellarg($infected).' -i "normal"');
?>

 

script

To update what you want clamscan to scan, change the highlighted value in the Docker container ClamAV.

image.png.be3c197792c2519d193e841372ca8792.png

@Squid

 

Can your script be modified to exclude or specify a Share? It went HayWire Scanning my TimeMachine Backup. 

 

Also we might want to start posting the good stuff on the Support thread so it doesn’t get lost. 

 

************** Note *****************

 

Saw your mention about Multiple Instances of Docker to Select which to Scan in the Support Thread. 

 

Thanks. 

1 minute ago, kizer said:

Also we might want to start posting the good stuff on the Support thread so it doesn’t get lost. 

Agreed: 

 

In Lounge until it gets moved.

moved to new thread

Edited by wgstarks

3 minutes ago, TQ said:

Agreed: 

 

In Lounge until it gets moved.

I just Moved it to Docker Section. 

On 6/15/2019 at 1:24 PM, kizer said:

I just Moved it to Docker Section. 

And surprisingly, you didn't delete it in the process 😜

Edited by Squid

3 hours ago, Squid said:

And surprisingly, you didn't delete it in the process 😜

 

Lol... I'm guessing I'm never going live that one down. 

trying this out, thanks for making it!

  • 3 months later...
trying this out, thanks for making it!

Absolutely!
Let’s keep our arrays virus free!


Sent from a small phone with phat phingers

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.