01-18-2008
Quote:
Originally Posted by
param_it
Hi,
I need to load an exe in startup of unix server.
Can any one tell me how can i configure that particular exe to start after boot-up.
Thanks
Could you please tell us what do you mean "exe"?
Shell script?
Via crontab it can be performed in the following way:
@reboot /path/to/my/program
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am using Sharity and want it to start up when I start up the system.
How or what is the procedure for this ??? (5 Replies)
Discussion started by: chimp
5 Replies
2. Shell Programming and Scripting
New in Unix, I am adding a line "route add 57.14.y.y 57.14.x.x" every day after rebooting the system. Where can I add the line so during boot up (the system is re-started every day by design (???) the line is executed? (I tried the /etc/rc2.d/S90 but for some reason the line needs to be added... (2 Replies)
Discussion started by: texaspanama
2 Replies
3. Shell Programming and Scripting
I need to make a script to start the postfix service on a server when the machine starts up.
I have a script written below, which I think will work, but I am confused on how the rc2.d & rc3.d etc directories actually work.
If I enter the script below, and stick it in the rc3.d directory,... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
4. UNIX for Dummies Questions & Answers
Hello there!
I need help.
Everytime I login to my ssh, i see this:
-bash: .export: command not found
-bash: .export: command not found
-bash: .export: command not found
-bash: .export: command not found
any help ?
thanks (0 Replies)
Discussion started by: fbauto1
0 Replies
5. AIX
Hi
I need the below script to be started whenever I reboot my aix server ?
#cat cdbegin
/cdirect/cdunix/ndm/bin/cdpmgr -i /cdirect/cdunix/ndm/cfg/cbspsdb01/initparm.cfg
Please suggest how to add this to the startup ? (2 Replies)
Discussion started by: samsungsamsung
2 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
Can some one pls explain the order in which the startup files are run?
For Bourne shell .profile is run., But what other startup files are present?
When is the .aliases file called. (4 Replies)
Discussion started by: gsrikanth99
4 Replies
7. Shell Programming and Scripting
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
8. Shell Programming and Scripting
I can't quite find a clear answer on how to properly write a start up script. Does anybody have any ideas?? (3 Replies)
Discussion started by: Huitzilopochtli
3 Replies
9. UNIX for Beginners Questions & Answers
THE PROBLEM IS:
Intializing USB controller (usb-uhci);Hint;insmod errors can be caused by in correct module parameters, including invailid IO or IRQ parsmeter
lib /modules/2.4.7-10/kernel/drivers /usb-uhci.o:insmod/lib/modules/2.4.7/10/kernel/driverd/usb/usb-uhci.o failed
Checking... (6 Replies)
Discussion started by: Weso
6 Replies
LEARN ABOUT HPUX
mk_kernel
mk_kernel(1M) mk_kernel(1M)
NAME
mk_kernel - load a kernel configuration from a system file
SYNOPSIS
path_name] system_file]
DESCRIPTION
reads configuration information from the system file (see system(4)) and applies those changes to a kernel configuration (see kconfig(5)).
performs a function similar to that of but has some semantic differences in order to preserve compatibility with previous releases. will
build a new kernel executable only if needed to effect the requested changes. may reuse existing kernel executables when possible.
Options
recognizes the following options.
Specify the target kernel path.
If the target kernel path specified is changes are applied to the currently running kernel configuration. They will take effect
immediately if possible; otherwise, they will take effect at next boot.
If the target kernel path specified is of the form changes are applied to the saved kernel configuration named config. The
changes will not take effect at next boot unless that saved kernel configuration was already marked for use at next boot.
If the target kernel name is a single word containing no slashes, that name is used as the name of a saved kernel configuration.
The changes are applied to that saved kernel configuration. The changes will not take effect at next boot unless that saved ker-
nel configuration was already marked for use at next boot.
If the target kernel path is not one of the forms specified above, then exits with an error. Other locations for kernel exe-
cutable files are no longer supported.
If the option is not specified, the changes are applied to the kernel configuration called The changes will not take effect at
next boot unless that kernel configuration was already marked for use at next boot.
Specify the HP-UX system description file.
If this option is not specified, the system file is used. For details see system(4).
Verbose mode. (Has no effect; retained for backward compatibility.)
RETURN VALUE
returns 0 upon normal completion; it returns 1 if an error occurred.
DIAGNOSTICS
Messages and warnings are sent to Messages from and other commands are displayed when invoked from Errors cause to halt immediately; warn-
ings allow the program to continue.
EXAMPLES
Uses the default HP-UX system description file
The changes are applied to the currently running kernel configuration, marked to take effect at next boot.
Uses the system description file
Uses the system description file
The changes are applied to the saved kernel configuration called
WARNINGS
Do not manually modify the contents of the kernel configuration directories.
FILES
Default HP-UX system description file
SEE ALSO
kconfig(1M), system(4), kconfig(5).
mk_kernel(1M)