09-29-2003
Not sure what you are looking for.
But this will do what you asked.
$ while true
> do
> w
> sleep 5
> done
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there any way I can disallow remote login on a m/c (3 Replies)
Discussion started by: DPAI
3 Replies
2. UNIX for Advanced & Expert Users
I have set up a modem in SCO Unix .. I want to dial in from a remote terminal program, what else is needed .. do I have to configure UUCP ?? How ? Any other configurations ?
CHRIS (1 Reply)
Discussion started by: germiphene
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
I am new to UNIX and I am given the responsibility of administering a UNIX machine recently. The system is a AIX 3.1 IBM. And, I am having problems in accessing the UNIX machine thru SSH.
All the users were able to logon to the Unix machine using SSH protocol earlier. But, I dont know... (1 Reply)
Discussion started by: pdepa
1 Replies
4. UNIX for Dummies Questions & Answers
I am wondering if it is possible to shut down a unix machine using a windows NT based machine. I would like the process to be secure, like logging into root using SSL or something simular and then running a shutdown command.
Thnaks,
Eternal (2 Replies)
Discussion started by: Eternalaop
2 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I am having a windows XP running in my pc. I want to access the files in remote system which is a unix system.
How can i share the directories in unix which i can access in windows system.
Regrads
Gauri (3 Replies)
Discussion started by: gauri_agr
3 Replies
6. Shell Programming and Scripting
Hi everybody,
My bash script is trying to connect to a remote database using the 'sqlplus' binary.For this i set(export) the variable TWO_TASK to the value of database name excluding the dot extension part.
Can anyone explain me what's the significance of this TWO_TASK variable while... (8 Replies)
Discussion started by: DILEEP410
8 Replies
7. IP Networking
In the past three weeks I've had two of our printers stop printing reports generated in UNIX. The printers are set up on an xp client machine and shared. The first printer I switched to a different computer and the print jobs came through. The most recent printer won't be as simple. Also I... (1 Reply)
Discussion started by: chtriller
1 Replies
8. SCO
Sir, i have a sco 5.5 installed server and 6 clients connected through pci specialix card and printing working fine in these all terminals. 7 and 8 ports are free now, i need to setup another terminal for login on through 7 or 8 port for remote login. i connect a external modem using 25 pin male... (2 Replies)
Discussion started by: Aneesh Kumar.T
2 Replies
9. Shell Programming and Scripting
I m trying to run a batch script in remote desktop which executes unix commands on the unix server...the problem is i wnt the output in HTML format.so in my batch script i m giving the cmd like
ssh hostname path ksh HC_Report.ksh>out.html
...but it generates the HTML file in
remote desktop .i... (2 Replies)
Discussion started by: navsan
2 Replies
10. Solaris
Hi all,
I need some help to remote desktop from Windows to solaris system with SUNOS 5.5.1. I tried to check about XDCMP but all are about the newer system and none mentioning the specific version. I am actually a beginner in all this and I need someone to point me to the right direction.
... (5 Replies)
Discussion started by: Aloft
5 Replies
LEARN ABOUT PHP
time_sleep_until
TIME_SLEEP_UNTIL(3) 1 TIME_SLEEP_UNTIL(3)
time_sleep_until - Make the script sleep until the specified time
SYNOPSIS
bool time_sleep_until (float $timestamp)
DESCRIPTION
Makes the script sleep until the specified $timestamp.
PARAMETERS
o $timestamp
- The timestamp when the script should wake.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.3.0 | |
| | |
| | This function is now available on Windows plat- |
| | forms. |
| | |
+--------+---------------------------------------------------+
ERRORS
/EXCEPTIONS
If the specified $timestamp is in the past, this function will generate a E_WARNING.
EXAMPLES
Example #1
A time_sleep_until(3) example
<?php
//returns false and generates a warning
var_dump(time_sleep_until(time()-1));
// may only work on faster computers, will sleep up to 0.2 seconds
var_dump(time_sleep_until(microtime(true)+0.2));
?>
NOTES
Note
All signals will be delivered after the script wakes up.
SEE ALSO
sleep(3), usleep(3), time_nanosleep(3), set_time_limit(3).
PHP Documentation Group TIME_SLEEP_UNTIL(3)