Script
I've installed AVG Anti-Virus on a Debian linux box. Is there a way to setup automated scan with the task scheduler and have it e-mail the report to an address?
|
sure, crontab can be used for scheduled tasks, it can start avgscan and mail the result.
|
Quote:
|
Put the following line above the job in your crontab and it will send any output from subsequent cron jobs to that e-mail.
Code:
MAILTO=your@email.addy |
Quote:
|
Anyone?
|
Quote:
In sendmail? No, not if your mail is working. In crond? Not that I'm aware of. In your AV? As long as it sends its results to stdout then they'll get mailed. You need to be clear when asking questions like that. |
Quote:
|
Quote:
You could also check your AV software, it may have a configurable option to mail any reports and it may have the option to use an external mail server. |
Quote:
|
All times are GMT -5. The time now is 12:28 PM. |