Re: need help on shell programming



On Thu, Feb 26, 2009 at 4:29 PM, Michael Pobega <pobega@xxxxxxxxx> wrote:
On Thu, Feb 26, 2009 at 04:54:28PM -0500, Long Wind wrote:
I want a script.
The script run a command, wait one minute,
then run the command again, wait one minute again
... again and again ...

Thanks!



Sounds like a job for Cron!

It depends on how long the job takes, and what the requirements are.

They did seem to imply they want to wait 60 seconds between the end of
one run to the start of the next one, as opposed to running every 60
seconds regardless.

If the job takes 45 seconds, it could be a pretty substantial semantic
difference.

mrc


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: [kinda ot] writing the date into a file when saving it
    ... > i want to self-document source code files when i write them to disk. ... > find where:w is processed and cause it to look for a script to ... > i know about!command. ... To unsubscribe, ...
    (freebsd-questions)
  • RE: export question
    ... environment, but that is what export is supposed to do. ... 'set' command. ... It *is* set in the sub-process created when you run the script. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • when lid is closed
    ... This script use a command called "vidcontrol", and I don't know and also didn't found any command with this name, more over, I also don't know what is the relation between close-the-lid and the "notify 5" inside the file ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • RE: redhat-list digest, Vol 1 #8511 - 29 msgs
    ... To subscribe or unsubscribe via the World Wide Web, ... Command running on terminal at some intervals (Reuben D. ... Re: bash shell ... rsync with public/private keys/no passwords ...
    (RedHat)
  • RE: redhat-list digest, Vol 1 #8511 - 29 msgs
    ... To subscribe or unsubscribe via the World Wide Web, ... Command running on terminal at some intervals (Reuben D. ... Re: bash shell ... rsync with public/private keys/no passwords ...
    (RedHat)