02-16-2009
You really need to read that man page.
"The time argument can have different formats. First, it can be an absolute time in the format hh:mm, in which hh is the hour (1 or 2 digits) and mm is the minute of the hour (in two digits). Second, it can be in the format +m, in which m is the number of minutes to wait. The word now is an alias for +0."
If you want to wait 5 minutes it's just +5.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hai
Could somebody tell me the solution to my problem.
the question is as follows
there is one unix server and 100 dummy terminals connected to my server, i want to shutdown client system if some of the
client forgetten to power down their system.
plez provide me the code for that. (2 Replies)
Discussion started by: rajashekaran
2 Replies
2. SuSE
Hello all
I'm trying to automate the startup/shutdown of my database whenever the OS is bounced ...
OS : Linux (Kernel : 2.4.20.-6)
Oracle : 9.2.0.5
The contents of /etc/init.d/dbora file is listed below
case "$1" in
'start')
su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/dbstart"... (1 Reply)
Discussion started by: luft
1 Replies
3. UNIX for Dummies Questions & Answers
Hello all -
On some of the systems we use - AlphaServer es40 Tru64 digital unix - you can login with the username: shutdown - with no password - and it shuts down the system gracefully. I've tried to trace what's going on in the system, but to no avail.
I've been searching the web, but... (1 Reply)
Discussion started by: kapolani
1 Replies
4. UNIX for Advanced & Expert Users
Hi Guys,
I want to execute few of my bash script, so that whenever someone calls shutdown now -r command, I want my script to execute first before shutting down.
Any help please?????
I've just started playing with the unix system, so far its been brilliant.... (10 Replies)
Discussion started by: alpha_manic
10 Replies
5. UNIX for Advanced & Expert Users
Firstly uname -a = UnixWare companyname 5 7.1.4 i386 x86at SCO UNIX_SVR5
Server is an HP Proliant ML350 G4 Tower
Right, now to the problem.
We frequently have power outtages and lightning strikes here due to our location in a VERY rural part of the UK.
As such, I need to be able to remotely... (6 Replies)
Discussion started by: aewpcoles
6 Replies
6. HP-UX
Hi,
I am on Alpha Server with HP Tru64 system.
I wish to setup shutdown to automatically and cleanly shutdown informix during the shutting down of the system.
Ie. I was trying to use rc0.d to do this but failed.
Has anyone tried doing this before? I already have the script and linked it
to... (0 Replies)
Discussion started by: kingsto88
0 Replies
7. AIX
Hi Guys,
Please help in this...when we start HACMP services ..server is getting shutdon.
Error mesg from cluster.log.
Apr 14 08:43:27 bascop17 snmpd: NOTICE: SMUX trap: (0 0) (127.0.0.1+46302+1)
Apr 14 08:43:33 bascop17 topsvcs: (Recorded using libct_ffdc.a cv 2):::Error ID:... (1 Reply)
Discussion started by: b_manu78
1 Replies
8. Solaris
Hi
is shutdown and init 0 are same command in solaris? (2 Replies)
Discussion started by: mokkan
2 Replies
9. UNIX for Dummies Questions & Answers
I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS).
Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies
10. AIX
Hi,
I'm testing out this plink script - which will be executed to shutdown multiple LPARs.
This consists from:
plink -i /path/ssh/cert/ root@host shutdown -F
plink -i /path/ssh/cert/ root@host2 shutdown -F
The commands gets executed, however it stops on one host, and does not move... (6 Replies)
Discussion started by: ollie01
6 Replies
LEARN ABOUT SUSE
hylafax-shutdown
HYLAFAX-SHUTDOWN(5F) HYLAFAX-SHUTDOWN(5F)
NAME
etc/shutdown - server shutdown control file
DESCRIPTION
If the file etc/shutdown is present it describes when a HylaFAX server is to be shutdown and may contain a descriptive message to return to
clients explaining the reason for the shutdown. This file is used by the hfaxd(8C) program.
The file has the following format:
<year> <month> <day> <hour> <minute> <deny> <disconnect>
<shutdown message text>
The first line defines the date and time the server should be shutdown and the time preceding at which unprivileged clients should be
denied service or disconnected; these fields are described in more detail below. Any lines that follow the first are taken as the text of
a message to return to clients when notifying them of a scheduled shutdown or when denying them service.
<year> The decimal year; e.g. 1996.
<month> The decimal month; e.g. 10 for October.
<day> The decimal day of the month in the range [1..31].
<hour> The decimal hour since midnight; in the range [0..23].
<minute> The decimal minute after the hour; in the range [0..59].
<deny> The time prior to the shutdown time at which to deny service to unprivileged clients. This value is specified as decimal number
in the form HHMM; e.g. 130 for 1 hour and 30 minutes.
<disconnect>
Time time prior to the shutdown time at which to disconnect unprivileged clients that are logged in to the server. This value is
specified as a decimal number in the form HHMM.
NOTES
This file is typically created using the ``SHUT'' command supported by hfaxd(8C).
SEE ALSO
hfaxd(8C), hylafax-server(5F)
January 18, 1996 HYLAFAX-SHUTDOWN(5F)