how to find crontab?

Hello,

I run a FreeBSD 5.3 box with DirectAdmin.

I had a cron job setup at /var/cron/tabs/root to run freshclam every night at midnight to update ClamAV.

The other day I started receiving emails from FreshClam telling me that ClamAV was out of date. I received these emails every hour, on the hour.

So I updated ClamaAV, ran freshclam manually & the output told me that ClamAV was up to date.

But each hour, on the hour, I receive the output from freshclam. I never received this output before.

So I deleted freshclam from /var/cron/tabs/root (which was running at midnight only) just to see if that made any difference - which it didn't.

So I have another crontab somewhere, running this job. And it never used to email me the output, but now it does, every hour!

How can I find which crontab is running it?

Is my only option to:
Code:
find / | grep crontab
and then cat every one of them?

I'm puzzled as to:
a) where this job is being called from
and
b) why the output was never emailed previously, it started once clamav was outdated, and now that clam is up to date it keeps outputting to me?

 

 

 

 

Top