The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to run a cronjob every 5 seconds?

Discussion in 'General Discussion' started by nat, Jul 1, 2003.

  1. nat

    nat Well-Known Member

    Joined:
    Jan 16, 2003
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Thought this would do it but its not working:

    */12 * * * * mylittlecommandhere

    cPanel.net Support Ticket Number:
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    cron jobs are done in minutes and not seconds. You should create a script that loops every 5 seconds if you want that behavior.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page