Results 1 to 8 of 8
  1. #1
    Join Date
    May 2009

    Where to find my crontab ?

    Quick question ,guys,in which folder is the crontab generally located.

    i run LAMP

    also,i m looking for a specific cron right now (xbt_cron).once i find it ,what command do i use to run it manually.its supposed to run by itself..i just moved to a new server last week and now its stopped working.


  2. #2
    Join Date
    Nov 2001
    man crontab will tell you where to find key files, and more. crontab -e (the preferred way of editing them) will load up the current user's table in an editor.

    As for "xbt..." that is application specific more than likely not cron specific.
    Last edited by mwatkins; 06-23-2009 at 01:30 AM.
    “Even those who arrange and design shrubberies are under
    considerable economic stress at this period in history.”

  3. #3

    You can set cron job by using command crontab -e

    Additionally you can see all cronjobs set via crontab -l

  4. #4
    It is highly suggested to use crontab as mentioned by the previous posters when editing user's crons. However, on Linux systems the actual files are usually located in /var/spool/cron
    cPanel Hosting - Best support in the hosting business!

  5. #5
    In addition to what others have already said here, if you want to check your crons then you can find them in /etc as cron.d , cron.daily etc

  6. #6
    You can use the following command,

    #crontab -e start vi session by default you can edit your crontab file.
    #crontab -r removes your crontab entry from the /var/spool/cron directory.
    #crontab -l this command is used to list the crontab.
    Support Facility | 24/7 web hosting technical support services
    Technical support | Server management | Data migration

    Technical Articles

  7. #7
    Join Date
    May 2008
    Several other posters already mentioned editing other users' crontabs: this is done with the -u option, so "crontab -u hildy -e". "man crontab" for more information, too.
    Dan Hildebrandt, Developer / Support, WebGroup Media LLC. -
    Cerberus Helpdesk 5.x is a CRM toolkit. Remember anything about anybody, swiftly reply to a flood of e-mail,
    capture feedback organically, track time, flag opportunities, share tasks, and more.

  8. #8
    Join Date
    Mar 2009
    Lets not forget system crons can be stored in /etc/cron.X and won't be listed in /var/spool/cron. In case your trying to find a rogue script that is running.

Similar Threads

  1. Pico etc/crontab VS crontab -e
    By lfcii in forum Hosting Security and Technology
    Replies: 4
    Last Post: 09-14-2006, 04:31 AM
  2. set crontab?
    By MarsNIIT in forum Hosting Security and Technology
    Replies: 2
    Last Post: 08-10-2006, 02:18 PM
  3. how to find crontab?
    By fang666 in forum Hosting Security and Technology
    Replies: 4
    Last Post: 01-31-2006, 03:32 AM
  4. Crontab
    By crazzyhaha in forum Hosting Security and Technology
    Replies: 11
    Last Post: 10-07-2005, 01:19 PM
  5. Crontab
    By DonGans in forum Programming Discussion
    Replies: 2
    Last Post: 08-21-2002, 07:04 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