Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Script should keep running only at specific time Post 303045233 by Syedsabeel on Saturday 14th of March 2020 07:19:40 AM
Old 03-14-2020
Hi i have java script bulk.sh. inside this i have jar file where my java code is written.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Ending script at specific time.

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)
Discussion started by: nirav_soni
4 Replies

2. Shell Programming and Scripting

Running batches of files at a time from a script

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)
Discussion started by: ladyAnne
2 Replies

3. Emergency UNIX and Linux Support

Help to optimize script running time

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)
Discussion started by: yahyaaa
6 Replies

4. Shell Programming and Scripting

Help in running a script after a particular time

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)
Discussion started by: shankar1dada
3 Replies

5. Shell Programming and Scripting

How to know the exact running time of script!

Hi All, newbie here, I'm just wondering how can i know the exact running time of my script? Please advise, THanks, (1 Reply)
Discussion started by: nikki1200
1 Replies

6. Shell Programming and Scripting

script for get lines with specific time.

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)
Discussion started by: ooilinlove
6 Replies

7. Shell Programming and Scripting

Help with kill a specific process after certain running time

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)
Discussion started by: perl_beginner
5 Replies

8. Shell Programming and Scripting

Setting time for running of the script

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)
Discussion started by: emily
2 Replies

9. Shell Programming and Scripting

Example of running script with time limits?

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)
Discussion started by: newbie_01
1 Replies

10. Shell Programming and Scripting

Running script in crontab in a specific directory

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
MACROS.JPACKAGE(7)						RPM Java packaging						MACROS.JPACKAGE(7)

NAME
macros.jpackage - RPM macros for Java packagers and developers. Written for the JPackage Project <http://www.jpackage.org/>: SYNOPSIS
%_jvmdir Root directory where all Java VMs/SDK/JREs are installed. %_jvmjardir Root directory where all Java VMs/SDK/JREs expose their jars %_jvmprivdir Root directory for all Java VM/SDK/JRE's private things. %_jvmlibdir Root directory for all architecture dependent parts of Java VM/SDK/JRE's %_jvmdatadir Root directory for all architecture independent parts of Java VM/SDK/JRE's %_jvmsysconfdir Root directory for all configurations parts of Java VM/SDK/JRE's %_jvmcommonlibdir Root directory for all common architecture dependent parts of Java VM/SDK/JRE's %_jvmcommondatadir Root directory for all common architecture independent parts of Java VM/SDK/JRE's %_jvmcommonsysconfdir Root directory for all common configurations parts of Java VM/SDK/JRE's %_javadir Directory where arch and version independent jars are installed. %{_javadir}-ext Directory where version dependent jars are installed. %_{javadir} Directory where arch and version independent jars are installed. %{_javadir}-x.y.z Directory where jars for Java standard x.y.z (usually symlinks to %{_javadir}-ext) are installed. %{_javadir}-utils Directory where Java-related scripts are installed. %_jnidir Directory where arch-specific (JNI) version-independent jars are installed. %_{jnidir}-ext Directory where arch-specific (JNI) version-dependent jars are installed. %_{jnidir}-x.y.z Directory where arch-specific (JNI) jars for Java standard x.y.z (usually symlinks to %{_jnidir}-ext) are installed. %_javadocdir Root directory where all javadoc is installed. %_mavendepmapdir Directory for maven depmaps. %_mavendepmapfragdir Directory for maven depmaps. %java_home Current default JVM home. Calls a set_jvm() from java-functions(7). %ant Default ant command. %jar Default jar command. %java Default java command. Calls a set_jvm() from java-functions(7). %javac Default javac command. %javadoc Default javadoc command. %add_jvm_extension add_jvm_extension should be used in %install by extension packages to declare what extension jars they provide. %add_to_maven_depmap() add_to_depmap adds an entry to the depmap. The arguments are: %1 the original groupid %2 the original artifact id %3 the version %4 the new groupid %5 the new artifactid %update_maven_depmap() update_maven_depmap updates the main maven depmap %jpackage_script() A standard script fot running jpackage positive applications. %1 main class %2 flags %3 options %4 jars (separated by ':') %5 the name of script you wish to create DESCRIPTION
This is a library of generic rpm macros which should be used on jpackage.org compatible distributions. FILES
/etc/rpm/macros.jpackage Definitions of macros. For additional informations look at this file. /use/share/java-utils/java-functions shell script functions library for Java applications /etc/java/java.conf system-wide Java configuration file ~/.java/java.conf user's Java configuration SEE ALSO
Regular Manual Pages java.conf(5) java-functions(7) jpackage-utils(7) AUTHORS
David Walluck <david@jpackage.org> Ville Skytta <scop at jpackage.org> Nicolas Mailhot <Nicolas.Mailhot at laPoste.net> REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/) jpackage-utils 1.7.5 February 2009 MACROS.JPACKAGE(7)
All times are GMT -4. The time now is 06:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy