Results 1 to 3 of 3
  1. #1

    5 second cronjob?

    Well, I wand to un a .sh every 5 seconds, how is it possible in crontab?

    5 * * * * sh /home/

    Is what I have at the moment, doesn't appear to be working... at all.

  2. #2
    Join Date
    Feb 2003
    * * * * * sh /home/

    would do it every minute. which is the most cron can do.

    You could then write in a loop that executes your commands and pauses for 10 seconds or so.
    Off Topic Web Forum - A forum for talking about anything!!
    N.Z. Webmaster Community - Are you from New Zealand? Well signup to our forum!!!!

  3. #3
    Join Date
    Oct 2002
    Yeah the best solution would be to put a 5 second sleep then loop back to the top of the script.
    The World's first server mating experiment
    We give new meaning to I/O intensive and hot swap

Posting Permissions

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