Thread: crontab <5

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Posts
    0
    Rep Power
    0
    Can I setup crontab to run perl script every 5 seconds ?

    So far I entered crontab by >crontab -e
    but I don't know how to save it and exit?
  2. #2
  3. the one
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    .hr
    Posts
    109
    Rep Power
    22
    OK, I find out answers for above questions. Corn can runs every 1 minute.
    Could someone please tell me what is sintax for running script every 2 minutes?
  4. #3
  5. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    */30 * * * * pepe perl /path/to/script.pl

    Make sure perl is in your path.

IMN logo majestic logo threadwatch logo seochat tools logo