Hello Everybody..
I've written the script that kick off through CRON job and kill itself by specific time.
I've start time and end time specify in env file.
i.e
START_TIME=1500 (03:00 PM)
END_TIME=0600 (06:00 AM)
It always works good if my START_TIME is before midnight and my... (4 Replies)
Hi
I have a script that performs a process on a file.
I want to know how to include a function to run a batch of files?
Here is my script
#!/bin/bash
#----------------------------------------------------------------------------------------------------------------------
#This... (2 Replies)
Dear Forum experts
I have the below script which I made to run under bash shell, it runs perfectly for low records number, let us say like 100000. when I put all records (3,000,000), it's takes hours
can you please suggest anything to optimize or to run in different way :-|
{OFS="|";... (6 Replies)
Unix Gurus,
I have a requirement where the shell script needs to do specific tasks after certain period of time.
Daily we receive few files in a particular folder. The script does the file renaming, pass parameters to run some web services and pushes to remote FTP location.
But my... (3 Replies)
i want to make a script for grep any lines with key word and every time (5 min)
Ex. Log in Server.
.
.
.
03-01-2012 03:07:54,924 - INFO MessageUtil - Return | Status=0 | TxID=12010300000548755292 | Message=Success
03-01-2012 03:09:13,789 - INFO MessageUtil - Return | Status=0 |... (6 Replies)
Hi,
Do anybody experience to write a bash script in order to kill a specific process (java) after certain time of running?
eg.
java java.jar task_run.txt
I will run a java program (java.jar) which will run a long list of process (task_run.txt) one by one.
I plan to terminate the java... (5 Replies)
Dear all,
I wonder if it is possible that we can run the script
from time to time..I meant, it should repeat the
sourcing of the script by itself? In my case, I need
to source this script manually from time to time,
like once in every 10 minutes.
emily, (2 Replies)
Hi,
I want to write a script that does some sort of health check on the database. It will query the database for information, some query takes long and some are quick.
For example, inside the script I will do something as below:
#!/bin/ksh
run_query_01 &
run_query_02 &... (1 Reply)
I am trying to run a script from crontab but the entire script (which is 70+ lines) is written in bash and I need it to run from a certain directory.
So when I run it manually I cd to /local/mnt/scr and then type ./reordersc and it works fine.
However, I want it to run from the crontab and I... (20 Replies)
Discussion started by: newbie2010
20 Replies
LEARN ABOUT DEBIAN
appclient
appclient(1M) Application Server Utility appclient(1M)NAME
appclient - launches the Application Client Container and invokes the client application packaged in the application JAR file
SYNOPSIS
appclient -client client_application_jar [-mainclass client_application_main_classname|-name display_name] [-xml sun-acc.xml file] [-tex-
tauth] [-user username] [-password password]
Use the appclient command to launch the application client container and invoke a client application that is packaged in an application JAR
file. The application client jar file is psecified and created during deployment either by the deploytool or by using the asadmin deploy
command.
The application client container is a set of java classes, libraries and other files that are required to execute a first-tier application
client program on a Java Virtual Machine (JVM). The application client container communicates with the Application Server using RMI-IIOP.
The client.jar that is retrieved after deploying an application , should be passed with the -client option while running the appclient
utility. The -mainclass and -name options are optional for a single client application. For multiple client applications use either the
-classname option or the- name option.
-client required; the name and location for the client application jar file. The application client JAR file is specified
and created during deployment, either by the deploytool or by the asadmin deploy command.
-mainclass optional; the full classname of the main client application main() method that will be invoked by the Application
Client Container. Used for a single client application. By default, uses the class specified in the client jar. The
class name must be the full name. For example, com.sun.test.AppClient
-name optional; the display name for the client application. Used for multiple client applications. By default, the dis-
play name is specified in the client jar application-client.xml file which is identified by the display-name
attribute.
-xml optional if using the default domain and instance, otherwise it is required; identifies the name and location of
the client configuration XML file. If not specified, defaults to the value of $AS_ACC_CONFIG identified in
asenv.conf file.
-textauth optional; used to specify using text format authentication when authentication is needed.
Example 1: Using the appclient command
appclient -client appserv/bin/myclientapp.jar
-mainclass com.sun.test.TestAppClient -xml sun-acc.xml scott sample
Where: appserv/bin/myclientapp.jar is the full path for the client application .jar file, com.sun.text.TestAppClient is the full Java pack-
age name of the main client application, scott and sample are arguments to pass to the application, and sun-acc.xml is the name of the
client configuration XML file. If sun-acc.xml is not in the current directory, you must give the absolute path location; otherwise the rel-
ative path is used. The relative path is relative to the directory where the command is being executed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable |
+-----------------------------+-----------------------------+
package-appclient(1M), asadmin(1M)Sun Java System Application Server March 2004 appclient(1M)