How to get a unix script to run every 15 seconds?

前端 未结 9 583
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-28 19:35

I\'ve seen a few solutions, including watch and simply running a looping (and sleeping) script in the background, but nothing has been ideal.

I have a script that ne

9条回答
  •  抹茶落季
    2020-11-28 20:12

    To avoid possible overlapping of execution, use a locking mechanism as described in that thread.

提交回复
热议问题