LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-17-2002, 12:43 PM   #1
Lorianna
LQ Newbie
 
Registered: Apr 2002
Posts: 1

Rep: Reputation: 0
How do you setup a cron job for a security audit?


I need any help in setting up a cron job for a security audit. It will be greatly appreciated.
 
Old 04-17-2002, 02:28 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232

Just write a script, copy it to /etc/cron.* (choose how often) and it's done...
 
Old 04-17-2002, 03:33 PM   #3
noodle123
LQ Newbie
 
Registered: Apr 2002
Posts: 27

Rep: Reputation: 15
use 'crontab -e'
01 04 * * 1-5 /usr/bin/myscript

this will run on every 4:01am any month, any year, monday-friday.
 
Old 04-18-2002, 05:29 PM   #4
abrakadabra
Member
 
Registered: Apr 2002
Location: Denver
Distribution: SuSe,RedHat,Mandrake,
Posts: 109

Rep: Reputation: 16
Cool

Hi,
you may want to check the man pages for cron. Some times they can be cryptic for a newbie, but they make sense once you get a better idea how cron works. You can also search the Web for tips on using cron.

Good luck!.

 
  


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
cron job sanjith11 Linux - General 5 07-14-2004 01:06 PM
security audit? nabil_boussetta Linux - Security 1 07-07-2004 03:38 AM
Cron job rajasekarvr Linux - General 4 05-03-2004 05:35 PM
cron job? luap Linux - Software 2 03-16-2003 08:48 AM
How to setup a cron job to ifup eth0? cmisip Linux - General 4 11-28-2002 08:35 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:31 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