Tomato scheduler, run every 30 seconds?

Discussion in 'Tomato Firmware' started by blackjackel, Jan 18, 2014.

  1. blackjackel

    blackjackel LI Guru Member

    I want a task in tomato scheduler to run every 30 seconds but the box to input numbers is labeled as "minutes" and won't accept .5 or anything like that. Is it possible to modify the scheduler file, or perhaps execute a task every 30 seconds some other way?
  2. koitsu

    koitsu Network Guru Member

    Is the scheduler implemented as a daemon/service, or implemented via cron? If the latter, then no, there is no way to accomplish this.
  3. jerrm

    jerrm Network Guru Member

    The gui scheduler just creates cron entries. 1 minute is the smallest interval. If 30 second intervals are a must have, then script something using sleep or watch.
  4. shibby20

    shibby20 Network Guru Member

    Please read how cron works. The smallest intwrval is 1 minute. As jeerm said, you can write bash script which will do something sleep 30 seconds and do it once again. Then this script add to cron with one minut interval

    Sent using Tapatalk
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice