SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-16-2005, 06:53 AM
|
#1
|
Member
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323
Rep:
|
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?
|
|
|
03-16-2005, 08:27 AM
|
#2
|
Member
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239
Rep:
|
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 .
|
|
|
03-16-2005, 08:50 AM
|
#3
|
Member
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323
Original Poster
Rep:
|
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
|
|
|
03-16-2005, 09:55 AM
|
#4
|
Member
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239
Rep:
|
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!
|
|
|
03-16-2005, 10:18 AM
|
#5
|
Member
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323
Original Poster
Rep:
|
Ok cool
thanks for your help
|
|
|
All times are GMT -5. The time now is 07:30 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|