LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-16-2005, 06:53 AM   #1
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
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?
 
Old 03-16-2005, 08:27 AM   #2
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
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 .
 
Old 03-16-2005, 08:50 AM   #3
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Original Poster
Rep: Reputation: 31
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
 
Old 03-16-2005, 09:55 AM   #4
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
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!
 
Old 03-16-2005, 10:18 AM   #5
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Original Poster
Rep: Reputation: 31
Ok cool

thanks for your help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where is kcron in Mandrake 10.1? Micro420 Mandriva 0 11-12-2004 07:45 PM
Kcron Problem matux Linux - Software 0 10-07-2004 09:31 AM
is there no Kcron in Mandrake 10??? halo14 Mandriva 2 08-12-2004 07:18 PM
problem with kcron ktambascio Linux - General 1 08-23-2003 09:27 AM
Problems with Kcron (mandrake 9.1) calimer Linux - Software 0 06-24-2003 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 07:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration