Hi,
I have a script to FTP the files to other unit.
Manually this script is running fine & files are getting transferred.
But running the same script using crontab does not transfer files, although the cron log shows that the file was executed.
PLz suggest (2 Replies)
Hi all,
i'm a newbie here, I'm just wondering how can i call my second script if it's contain successfull.
script1.sh
how can i call my 2nd script if he contain SUCCESSFULL
script2.sh
SUCCESSFULL
please advise,
Thanks, (10 Replies)
Hi All,
Requirement: The below script should automatically exit at 6pm everyday without manually killing the script
Tried running with the below shell script but found the script was still running when the time was 6:15pm. The script did not exit the while loop at 6pm
The script runs... (6 Replies)
Hi ,
Please excuse me for opening a new thread i am unable to find out the syntax error
in my if else condition inside for loop in awk command ,
my actual aim is to print formatted html td tag when if condition (True) having string as "failed",
could anyone please advise what is the right... (2 Replies)
Hi, I have written a script that allows me to repetitively play a music file $N times, which is specified through user input. However, if I want to exit the script before it has finished looping $N times, if I use CTRL+c, I have to CTRL+c however many times are left in order to complete the loop.... (9 Replies)
Hi,
I have first script which on IR remote command event execute the second script. If the second script is executed, it display echo "timeout expired" after 10s. This works as expected.
But I also want to reset timer (increase time) in case if the second script is executed again within 10s.
... (8 Replies)
I am trying to check multiple server's "uptime" in a loop over "ssh".
When I execute multiple ssh commands with hard coded servernames script is executing fine.
But when I pass server names using while loop, script is exiting after checking first server's status, why?
# serverList... (8 Replies)
Hi,
I am writing a menu driven program using shell script. THe script will be collecting data by logging into the other servers and bringing back the data to home server to process it and accordingly issue commands. TO automate commands execution , I am using expect script. However I am not able... (5 Replies)
Morning all,
I am attempting to complete the below script which will do the following (skip the ping part) using Bash.
Prompts the user to type in a URL to download, or to type exit to exit the script.
If a URL is typed, wget to download the webpage and then loop back to prompting for a... (2 Replies)
Discussion started by: Jgerds1990
2 Replies
LEARN ABOUT SUNOS
asadmin-delete-jvm-options
asadmin-delete-jvm-options(1AS) User Commands asadmin-delete-jvm-options(1AS)NAME
asadmin-delete-jvm-options, delete-jvm-options - deletes the JVM options from the Java configuration or profilerelements
SYNOPSIS
delete-jvm-options --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename]
[--terse=false] [--echo=false] [--interactive=true] [--profiler=false]
(jvm_option_name=jvm_option_value)[:jvm_option_name=jvm_option_value]*
Deletes the JVM options in the Java configuration or Profiler elements of the domain.xml file. You can enter more than one JVM option sepa-
rated by a colon (:) . If the JVM option starts with a dash (-) then use two dashes (--) before the operand to distinguish that JVM option
is an operand and not an option. JVM options are used to record the settings needed to get a particular profiler going.
OPTIONS --user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--profiler indicates if the JVM options is for the profiler. Profiler must exist for this option to be true.
OPERANDS
jvm_option_name=jvm_optithevleft side of the equal sign (=) is the JVM option name. The right side of the equal sign (=) is the
jvm_option_value. Additionally, you can use ":" as a delimiter for more than one jvm-option. If the jvm-option con-
tains a ":", use the escape character to offset the ":" delimiter.
Example 1: Using delete-jvm-options with double dash (--)
asadmin> delete-jvm-options --user admin --password adminadmin
--host fuyako --port 7070 --profiler=true -- "-DDebug=true":"-Xmx256m":"
-Dcom.sun.aas.imqBin"="/export/as7se/imq/bin"
JVM options deleted
Where the JVM options are created. The double dash (--) is used between --profiler options and the operand because - indicated the end of
the options and the following text is the operand. The double dash (--) is necessary here since there are single dashes (i.e., --DDebug) in
the operand. To distinguish between the options and the operand, the double dash (--) is used.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-jvm-options(1AS)J2EE 1.4 SDK March 2004 asadmin-delete-jvm-options(1AS)