Results 1 to 5 of 5
  1. #1

    cron job question

    How do I check what crons are setup to run daily/weekly or what not. I was installed chkrootkit and set up 2 cron jobs not meaning to, I dont know how to remove one of them tho. Not such a big deal but it does get annoying with the emails.

  2. #2
    You can check cron by running command "crontab -e" on the shell

  3. #3
    Join Date
    Mar 2009
    Near You..
    If you have root ssh, check the crons set under /etc/cron.daily or /etc/cron.weekly too. Normally chkrootkit crons are added as /etc/cron.daily/

  4. #4
    Join Date
    Jul 2009
    "crontab -l" would list all the crons set for the user you are running the command as.

    For example, if you are logged in as a user called "doctor", the command would show all crons set for this user.

    As the root user, you could give "crontab -l -u <user_name>" to list all crons of a particular user.

    With "crontab -e", you can edit this. Also check the file "/etc/crontab".

    Sr. Systems Engineer
    We grow by helping you grow.

  5. #5
    Join Date
    Oct 2006
    Hi Shamus,

    /var/log/cron.log file helps you to know the date and time of cronjobs executed. Browse thru the file to know if your cron has got executed.

    you may also use the help of grep command to check this out. If your script is named as chkrootkit... use the command :

    grep -i chkrootkit /var/log/cron.log
    Sony Koithara ,
    -> where admins go c r @ z y!!!

Similar Threads

  1. cron job question
    By netpox in forum Hosting Security and Technology
    Replies: 10
    Last Post: 09-08-2008, 10:35 PM
  2. CRON Question
    By mrlayance in forum Hosting Software and Control Panels
    Replies: 1
    Last Post: 12-23-2004, 01:25 AM
  3. Cron job question
    By Garrett in forum Hosting Security and Technology
    Replies: 5
    Last Post: 09-25-2002, 11:40 AM
  4. cron question
    By MGCJerry in forum Hosting Security and Technology
    Replies: 2
    Last Post: 07-12-2002, 05:24 PM
  5. cron job question...
    By v-rod in forum Hosting Security and Technology
    Replies: 7
    Last Post: 03-30-2002, 07:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts