Questions tagged [sleep]

a command for delaying execution of a program for the given length of time. For low power mode, use suspend instead.

189 questions
2
votes
3 answers

Verbose sleep command that displays pending time seconds/minutes?

sleep command can be used to introduce a delay. e.g. sleep 5 will sleep for 5 seconds. Is there any alternative/way/method that will display the pending seconds on the terminal? output like resuming in 5 sec the numeric values just countdowns on…
mtk
  • 27,530
  • 35
  • 94
  • 130
0
votes
1 answer

what's the max number accepted by sleep?

I want to run some jobs after waiting some time: I can do: sleep 1000;foo-1;foo-2 What I expected is to wait couple of hours, sleep seems not the best solution. and I don't want to setup cron job.
Mark K
  • 865
  • 3
  • 14
  • 40
0
votes
2 answers

Sleep command to run after exactly every one hour

I need your small help, i have one script which i can not schedule on crontab. But I am using sleep command. I am facing issue while using sleep command. My script took 10 or 15 min to complete ( run time) and I use sleep(3600) which means it sleep…