LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   How to use kcron? (https://www.linuxquestions.org/questions/suse-opensuse-60/how-to-use-kcron-302248/)

ginda 03-16-2005 06:53 AM

How to use kcron?
 
I have no success using cron and kcron looks easy enough but i want to setup a cron job for my antivirus to scan once a day. I use bitdefender on command line so i believe i would have to create a shell script?

How do i do that?

azucaro 03-16-2005 08:27 AM

ginda,

What is the command that you are placing into the crontab file? It seems like you could just issue crontab -e, then something like "0 12 * * * bitdefender -etc..." with vi. That would run every day at 12 p.m.

Also, maybe you need to get root access before doing this? Not too sure, but I checked on this page .

ginda 03-16-2005 08:50 AM

Hello

I have just managed to setup the cron jobs ok at different time sin the day an dit all works great :)

It runs the scan ok and does what i want but i would like it if the shell would pop up at every scan i.e. showing that its ruinning instead of checking with top command

azucaro 03-16-2005 09:55 AM

I don't know how to pop up the shell, but you could try redirecting the output to a file (or appending to the file) on your desktop (or something like that), so you could view the log each day after you know the scan has taken place.

That would probably be easier to manage for historical purposes as an added bonus!

ginda 03-16-2005 10:18 AM

Ok cool

thanks for your help


All times are GMT -5. The time now is 09:10 AM.