Results 1 to 6 of 6

Thread: Cron Jobs!

  1. #1
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Question Cron Jobs!

    Hello

    I am a little confused about cron jobs set by users.Can anyone explain, how it works?

  2. #2
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Posts
    882
    Try these two links:

    1. Ubuntu Help. Describes the use of cron and the /etc/cron.daily, /etc/cron.hourly etc. directories used by root.
    2. Linux Forums. Goes into more detail about crontabs for individual users.

    What exactly don't you understand? The trick with cron is that you should always use full path names or else scripts / programs may not be run and cron will not appear to work.

  3. #3

  4. #4
    Thanks so much,
    rely i was looking for that answer

  5. #5
    if u want to perform any work continuosly or regularly u can automate the tasks using cron jobs

    for example everyday u want to see the diskuage and the users who had logged in then u can use cronjabs for this

    # Minute Hour Day of Month Month Day of Week Command
    # (0-59) (0-23) (1-31) (1-12 or Jan-Dec) (0-6 or Sun-Sat)
    0 2 12 * 0,6 /usr/bin/find

    this should be your crontab file entries

    to make the cronjobs use this command crontab -e.

    to display ur crontab file use the command crontab -l

    Hope this will clear your doubts.

  6. #6
    crontab -e username

    this will take you to the cron file of the user. you can add entries to the particular user in that file.

Similar Threads

  1. Cron jobs email
    By engrolsonjr in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 05-05-2011, 12:49 AM
  2. Cron Jobs and scripting
    By rajeshwar in forum Redhat / Fedora
    Replies: 2
    Last Post: 09-25-2007, 02:11 PM
  3. Cron Jobs with Lynx
    By Wildheart in forum Linux - General Topics
    Replies: 4
    Last Post: 01-23-2006, 10:29 AM
  4. Jobs suck!
    By Fatal Error in forum General Chat
    Replies: 1
    Last Post: 05-13-2005, 08:42 PM
  5. JOBS computer jobs +
    By Fatal Error in forum General Chat
    Replies: 0
    Last Post: 02-01-2005, 02:40 AM

Bookmarks

Posting Permissions

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