Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

Script to run at startup

How to make the scrip to startup automatically when linux reboot everything ?

Tks
Avatar of Alex [***Alex140181***]
Alex [***Alex140181***]
Flag of Germany image

Which distribution?
SOLUTION
Avatar of kaTaVasija
kaTaVasija

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK
AXISHK

ASKER

I'm using redhat 5.

the scrip is under \apps\myscript.sh

should we make chkconfig followed by a path \apps\myscript.sh ?

Tks
Use / instead of \
šŸ˜ƒ

Any reason why you still have RH5? That's quite old...
Slashes are wrong. Are you sure you do not run Windows 5 (aka 2000) ?
Avatar of AXISHK

ASKER

typo mistake only.

chkconfig can followed by a full path name of the script, correct ? Tks
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial