Sorry I didn't realise there were two Clam anti virus apps.
Interestingly as an experiment I did a search for ClamXav online because it is not available from the App Store in Australia. I downloaded it from the developer's site and ran it on my Macintosh HD. It took a while as you can imagine and I expected like you I would detect virus attached to emails but no. It only found two files which appear to be Trojans in my Library.
So, to get back on topic, anyone have any great ideas on running DetectX on a schedule?
As far as I know, you cannot schedule DetectX Swift (or its predecessor DetectX).
So, to get back on topic, anyone have any great ideas on running DetectX on a schedule?
#!/bin/sh
/Applications/DetectX\ Swift.app/Contents/MacOS/DetectX\ Swift vsearch | mail -s "DetectX" [email protected]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/sbin</string>
</dict>
<key>Label</key>
<string>com.mgnewman.detectx</string>
<key>ProgramArguments</key>
<array>
<string>/bin/sh</string>
<string>/Users/mnewman/bin/com.mgnewman.detectx.sh</string>
</array>
<key>RunAtLoad</key>
<false/>
<key>StartCalendarInterval</key>
<array>
<dict>
<key>Hour</key>
<integer>4</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
</array>
</dict>
</plist>
Search func called with arg 0: /Applications/DetectX Swift.app/Contents/MacOS/DetectX Swift
Search func called with arg 1: vsearch
Without a Pro or Commercial license, this CLI tool can only be used for a limited period of 20 days.
There are 20 days of use remaining.
Initiating search...
Requested search for users:
/Users/mnewman
DetectX Swift 1.087
2019-04-26T05:17:01+0700
Spotlight indexing: Enabled
Searching...
Nothing found.
Elapsed search time: 38.45 secs