You are not logged in.
More than once, I have found myself running a program that calls a given script multiple times, and sometimes, way too many times. In some cases, for instance, it was only necessary to run the script once in one minute, instead of hundreds of times.
Sounds like I want something like dpkg's deferred triggers, right? pretty much so.
bootinfoscript - emacs primer - wireless problems- I ♥ #!
Offline
That link is showing the use of 'sleep' to hold back the running of the script/program for the number of seconds given, this can be done in any 'sh' script, as far as I know.
Linux since 1999
Currently: AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/
Offline
It does more than that.
Any new, identical commands launched within the 'wait' time are not executed, they just increment the wait time for the original command to be executed.
bootinfoscript - emacs primer - wireless problems- I ♥ #!
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat