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 SUSE
fvwm-themes-start
FVWM-THEMES-START(1) General Commands Manual FVWM-THEMES-START(1)
NAME
fvwm-themes-start - FVWM Themes starter
SYNOPSIS
fvwm-themes-start [ --session|-s name ] [ --no-start|-n ] [ --fvwm-exe|-e ] [ -- fvwm-args ]
DESCRIPTION
This script runs fvwm with FVWM Themes. It should be run under X. Put a call to this script as the last line of your .Xclients, .xinitrc
or .xsession file.
OPTIONS
--session name - name of the FVWM Themes session. By default it is "main". This allows to have and run different FVWM Themes configuration.
--no-start - do not start fvwm, just do preparation for starting it. This is useful to start FVWM Themes with a session manager, see FAQ.
--fvwm-exe - changes the default executable, which is fvwm or whatever fvwm-config --fvwm-exe returns.
-- everything after -- is passed to FVWM. See the fvwm(1) man page for the fvwm options.
EXAMPLES
Most users just should put:
fvwm-themes-start
as the last line of their .Xclients, .xinitrc or .xsession file. If you want to use FVWM Themes with a real session manager, say GNOME,
you need to use the --no-start option and put:
fvwm-themes-start --no-start
gnome-session
as the last lines of your .Xclients, .xinitrc or .xsession file. The session option allows to use FVWM Themes with different configura-
tions. Say, you want to use 3 different configurations under a normal FVWM session when FOO test is false, under gnome-session and under a
normal FVWM session when FOO test is true. Then, your .xinitrc/.xsession file may look as follows (where $1 is the "first" argument given
by startx, or by kdm or gdm ...):
...
case $1 in
fvwm)
if FOO; Then
fvwm-themes-start --session special
else
fvwm-themes-start
fi
;;
gnome)
fvwm-themes-start --session gnome --no-start
gnome-session
;;
... other cases ...
esac
Note that with most session managers (e.g., GNOME or XSM) it is preferable to give "fvwm -f themes-rc" as the starting window manager com-
mand in the session manager.
COPYING
The script is distributed by the same terms as fvwm-themes itself. See GNU General Public License for details.
BUGS
Report bugs to fvwm-themes-devel@lists.sourceforge.net.
Fvwm Utility 15/Aug/2000 FVWM-THEMES-START(1)