Re: [Dorset] Kubuntu, clamav, and daily cron job
On 24/03/2019 21:43, Keith Edmunds wrote: As root, run 'crontab -e' and add that line to the end (without the vertical bars). Explanation of numbers at start of line: "man 5 crontab" Thanks Keith, I do like to see and know what I am doing, so this helps a lot. I did try clamTK, but I couldn't see what the results were and also a weirdo on my system when I ran it from the command line is that all the 'help' pop-ups were white on white. It doesn't seem to have put an entry in the crontab file, so I don't know where it is managing it from. Thanks, Peter M. -- Next meeting: BEC, Bournemouth, Tuesday, 2019-04-02 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk/ New thread, don't hijack: mailto:dorset@mailman.lug.org.uk
Re: [Dorset] Kubuntu, clamav, and daily cron job
On Sun, 24 Mar 2019 20:32:28 + PeterMerchant via dorset wrote: > I want to set up clamav to scan every day at 09:30 on my Kubuntu 18.04 system. > > The instructions that I have found say to put the following as a root cronjob. > > |30 01 * * * /usr/bin/freshclam --quiet; /usr/bin/clamscan --recursive > --no-summary --infected / > 2>/dev/null | > > Other instructions that I found say to use the system settings to do it, but > I cannot find where > it says. There is a place in Startup but I don't think that is it. Does it > have to be done > 'manually'? > > Also what are the bits at the beginning '30 01 * * *'? I can't find an > explanation of those. > > Thanks for help. Peter > > Could you not use clamTK which is the gui for clamav? I use it you do the scan but also check for updates prior to doing the scan It is a long time since I used KDE but I do seem to remember there was a program called kscheduler, which links to cron, could you use that? Tim H -- Next meeting: BEC, Bournemouth, Tuesday, 2019-04-02 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk/ New thread, don't hijack: mailto:dorset@mailman.lug.org.uk
Re: [Dorset] Kubuntu, clamav, and daily cron job
As root, run 'crontab -e' and add that line to the end (without the vertical bars). Explanation of numbers at start of line: "man 5 crontab" -- Linux Tips: https://www.tiger-computing.co.uk/category/techtips/ -- Next meeting: BEC, Bournemouth, Tuesday, 2019-04-02 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk/ New thread, don't hijack: mailto:dorset@mailman.lug.org.uk
[Dorset] Kubuntu, clamav, and daily cron job
I want to set up clamav to scan every day at 09:30 on my Kubuntu 18.04 system. The instructions that I have found say to put the following as a root cronjob. |30 01 * * * /usr/bin/freshclam --quiet; /usr/bin/clamscan --recursive --no-summary --infected / 2>/dev/null | Other instructions that I found say to use the system settings to do it, but I cannot find where it says. There is a place in Startup but I don't think that is it. Does it have to be done 'manually'? Also what are the bits at the beginning '30 01 * * *'? I can't find an explanation of those. Thanks for help. Peter -- Next meeting: BEC, Bournemouth, Tuesday, 2019-04-02 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk/ New thread, don't hijack: mailto:dorset@mailman.lug.org.uk