Thread: cron

    #1
  1. SwollenMember
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Location
    the master control
    Posts
    264
    Rep Power
    15
    anyone know how set up a crontab to run every min...every 5 min...etc.

    would

    0..(some interval) work?
  2. #2
  3. SwollenMember
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Location
    the master control
    Posts
    264
    Rep Power
    15
    nevermind, i got it.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    71
    Rep Power
    15
    I'm also interested in that, would you tell me where did you find information on that.
  6. #4
  7. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>where did you find information on that.

    The best way is to RTFMP (Manpage) of your specific OS. Let's use linux as an example, there are so many linux distributions out there, the manpage of crontab might be different in some way.
  8. #5
  9. SwollenMember
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Location
    the master control
    Posts
    264
    Rep Power
    15
    Every ten minutes would be done like this

    0-59/10 * * * * /home/directory/script

    every five minutes

    0-59/5 * * * * /home/directory/script

    etc....

IMN logo majestic logo threadwatch logo seochat tools logo