Linux Operating System (MOSC)

MOSC Banner

sleep command doesn't take effect

edited Apr 10, 2024 5:57AM in Linux Operating System (MOSC) 6 commentsAnswered

Hi, we were working with Orch start service automatically script, ..set init.d WLSERVICE file script to start Orch and a few second later) AIS service, but both services start at the same time!... seems the command sleep doesn't apply.

extract script:


    su - oracle -c "cd ${ADMIN_HOME}/bin; ./startManagedWebLogic.sh Orch > /u01/oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/log/Orch.log 2>&1" &

    sleep 30

    su - oracle -c "cd ${ADMIN_HOME}/bin; ./startManagedWebLogic.sh Ais > /u01/oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/log/Ais.log 2>&1" &


what is the root cause, sleep comand doesn't take effect?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center