A long time ago I copied/modified a script that used
inotify to tell me the results of an automatic
clamscan when something was downloaded to Downloads - I followed this online resource: https://fitzcarraldoblog.wordpress.com/2017/03/05/using-the-clamav-daemon-to-scan-files-placed-in-my-downloads-directory-in-gentoo-linux/.
My question: How do I find out what is executing this script, called
Though the tutorial suggested using
crontab, which I did and have since edited out of my
crontab -e file, this script is still somehow being executed.
I have checked;
my user's crontab,
my root's crontab,
all the cron.daily/weekly/etc,
and cannot what is executing the script. I've looked in the
journalctl -b | grep cron
or for when I know the approximate time I downloaded something,
journalctl -b | grep -e "10:00"
I've also just used grep to search for the string of the name of the executable -
sudo grep -rnw / -e "clamscanInotify.sh",
but did not find the string anywhere, not even in
I do not have
at/atd daemon and I cannot think of what else to do to look for whatever is calling this executable script,
It is also not in Linux Mint's
"Startup Applications" selection using the GUI for the desktop.
I don't simply want to delete the *.sh file, but my screen and terminals filling up with
zenity windows and messages is annoying.
Any ideas of where to look?
Here is a pic of my