> > I notice some errors in my cron.daily. I am running RedHat 9 and Clam
7.2.
> > Errors listed below :-
> >
> > /etc/cron.daily/clamscan:
> >
> > /etc/cron.daily/clamscan: line 1: clamscan: command not found
> > /etc/cron.daily/clamscan: line 1: sigtool: command not found
> > /etc/cron.daily/clamscan: line 1: sigtool: command not found
> > '/' will now be scanned for viruses with ClamAV clamscan version
> > Virus Signature Daily Database version  (built at )
> > /etc/cron.daily/clamscan: line 1: clamscan: command not found
> >
> > Any idea?
>
> At a guess these tools are installed somewhere other than /bin or
> /usr/bin (or whatever is in the default path that cron provides).
> Suggest you either use the full path in your scripts or explicitly set
> the path environment variable at the start of the script.

I replaced the absolute path in the script and everything is working.

Thanks to everyone who helped.



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to