Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2001
    Posts
    189

    Every half hour Cron job?

    Please tell me how to configure a Cron job to run every 1/2 hour.

  2. #2
    Join Date
    Oct 2006
    Posts
    44
    Use the crontab command to edit the relevant cron file, and add a line like
    0,30 * * * * <commandToRunHere>

    Comma seperated entries in a field are treated as a list, so this line will run the program on the hour and half-hour
    Andrew
    Spry VPS Hosting cPanel VPS, Plesk VPS, Webmin VPS, Shared, Domain Registration, Dedicated and Colo
    VPSLink Cheap VPS accounts CentOS, Fedora 4/5/6, RHEL, Gentoo, Debian, Ubuntu -- Dapper/Edgy, Slackware, OpenSUSE, LAMP + Ruby pre-installed available

  3. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Related Posts from theWHIR.com

Posting Permissions

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