How to run the batch files
Hi Experts,
I am trying to implement automatic cache purging every day at specified time and i created txt file with SApurge All cache() and created bat file with nqcmd -q Analyticsweb -u username -p password -s (txt file location).
Now i want to run this bat file daily at specified time with out executing manually may i know how to run the batch file at specified time .
Thanks,
There is task type as command in workflow manager if you want you can go for that during the load
nqcmd -d "AnalyticsWeb" -u Administrator -p Administrator -s "D:\PowerCenter8.1.1\server\infa_shared\SrcFiles\1_BIPurgeCache.txt"
Check these urls
http://docs.oracle.com/cd/E12103_01/books/AnySched/AnySched_Scripts3.html
http://deliverbi.blogspot.com/2011/12/purge-all-cache-from-dashboard.html
Similar Messages
-
How to run a batch file as windows Nt service
Hi friends
I want to know how to run a batch file as windows NT service.
I got some information in the following link
http://support.microsoft.com/kb/q243486/
I tried it but i want to know what we need to include in Autoexnt.bat
And one thing i need Instexnt.exe file. I cannot find tht file.
Please search tht file and send me tht file or else send the link in which this file is present
Please give me reply fast.its very urgent.
Thanks in advance.Hi,
My aim is to run a MS-DOS Batch file, that I created to run a Java Prgram.
I need to call the Batch File from the Oracle Procedure, Also I may need to change the content of the Batch File (Argument to the Java JAR File ).
I can keep the JAR FIle either in the Oracle Server or in the Application Server.
The Java program is to convert XML Format FIle to PDF and MS Word format.
Oracle Version : 10g 2.0.1.0.
Thanks in advance
Rizly -
Hi,
How to run a batch file from Oracle. Is it possible directly from PLSQl, or should I write the java code.
Oracle Version: 10g 2.0.1.0.
Thanks in advance
RizlyHi,
My aim is to run a MS-DOS Batch file, that I created to run a Java Prgram.
I need to call the Batch File from the Oracle Procedure, Also I may need to change the content of the Batch File (Argument to the Java JAR File ).
I can keep the JAR FIle either in the Oracle Server or in the Application Server.
The Java program is to convert XML Format FIle to PDF and MS Word format.
Oracle Version : 10g 2.0.1.0.
Thanks in advance
Rizly -
How to run a batch file clicking a button?
Hi All,
Can you tell me anyone how to run a batch file clicking a button? And also the progress bar showing the progress.
ArifAs said: write the insert statement like above (of course replace the databaselink, column and table names with your own) in a stored procedure and call this procedure in the WHEN-BUTTON-PRESSED Trigger.
As for the progress bar: how many records are you processing and how is the network connection between your database server? As above method is rather fast it might take just a few seconds and you could spare you the progress bar (this might be a little tricky to implement).
cheers -
Can we run the batch file using simple java application
Hello sir,
we want to run the batch file using simple java application. i tried with some example, we run the exe files but not batch file.
Runtime r = Runtime.getRuntime();
r.exec("D:\\jboss\\bin\\run.bat");
My application is server will run when we run the java appliation.
any suggestion? plz give me the solutionsyes you can run html file
WEB.SHOW_DOCUMENT is a built-in that is used in Forms to call URL from a Web Form. It works much like the similar way that a link on an HTML page works and it takes two arguments, one is URL and second one is TARGET, in your case use following.
WEB.SHOW_DOCUMENT('http://channas.iil.informatics.lk:8890/forms/frmservlet?config=abc.html', '_blank');
Hope this will work for you
Abbas -
How to schedule the Batch file to run from task scheduler
Hello Everyone,
I have a batch file which kills the wscript.exe process, I am doing this manually, I need to schedule this batch file to run from task scheduler whenever the process wscript.exe reaches to specific numbers, i.e if the wscript.exe process count in task
manager reaches to 30, the task schedular should execute this batch file,
Is there a way to do so.
dibuHi,
àI need to schedule
this batch file to run from task scheduler whenever the process wscript.exe reaches to specific numbers.
As I know, it will not help you to achieve this target via Scheduled Task. When configure Scheduled Task, there
seems no Trigger option that help you specify this condition (process counts reaches to specific numbers) to trigger the batch file.
You could consider that improve this batch file. Adding the
Check function to the script will be a better option. For script issue, you can post it in the
Official Scripting Guys Forum. I believe we will get a better assistance there.
If any update, please feel free to let me know.
Best regards,
Justin Gu -
How to run a batch file using tigger....
Hi, i am trying run a batch file using a trigger on a table.
say i have a table XYZ(col_1 varchar2 primary key, col_2 varchar2)
the values of col_2 keeps changing and col_1 are constant
whenever the value of col_2 in any row changes from "on" to "off" i want to run a batch file C:\Users\ABC\Desktop\test.bat
i did some searching but couldn't find any solution. Thanks in advance
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
sorry wrong foum to post.
will post in the correct one
how to run batch file using trigger?Hallo,
welcome to the forum.
This is the forum for the tool {forum:id=260}. Your question should be placed in {forum:id=75} or {forum:id=61}.
When you post your question there please provide additional information like db version, what kind of trigger you want to use, how you want to prevent the execution when the transaction is rolled back... {message:id=9360002}
Regards
Marcus -
How to run the Batch input session(SM35) in background thru Report program
Hi Experts,
I am working in one modification report requirement ,the report is Mass upload will update and run the file via batch input session. The client requirement is to implement the report execution in background mode , the batch input session will process automatically (ie. the job runs the batch input session in background and process the session ends).
Currently, the report calls SM35 to write a batch input session and the user manually selects the session and record the transactions.
Once the Transaction enters and the selection-screen inputs are given, then the transaction executed in background mode and all the above batch input process to be implemented.
Please advise and guide me, how to proceed.
I need your guidance to proceed via Call transaction using bdcdata statement, if it can be achieved the requirement.
Thanks & Regards
San.Hi Arabind Prasad,
Thanks for your inputs.
I know the process of the report Execution in background and job steps.
I want the inputs for how to upload thru Batch input session in background job and the session should also processed automatically
Currently the report logic declared like call transaction 'SM35' and skip first screen.Once the report (tcode) executed (not in background) It writes one session in SM35. The user should select the session and process the transaction manually.
The new requirement is, if the report (tcode) executes in background mode...what and how the batch input session should be declared and how it process automatically (like you said mode 'N').
Hope I am clear in my query.
Please advise.
Regards
San.
Edited by: San Learner on Mar 1, 2011 7:16 PM -
I need to execute a batch file on the clients pc. Right now, I'm using:
WEBUTIL_HOST.NonBlocking('cmd.exe /c "' || :Test.Batch_File_Name || '"');
where the :Test.Batch_File_Name is something like C:\run.bat.
This works to some extent. When it runs, I see a blank cmd.exe window and when I check my processes, I can see that run.bat is running. However, I need to be able to see run.bat as it executes because it outputs messages to the screen. Is there a way to call client_host or webutil_host that will display the batch file screen?
ThanksHello,
With the Webutil Get_Standard_Output() , you can get the output strings and display them into your own Forms canvas ;o)
Francois -
How to run a batch file in a continous loop
Hi. PS noob. I need to run a batch file frequently -- possibly every one minute. Correct me if I'm wrong, but Task Scheduler can only schedule a task to run as frequently as every 5 minutes. What would a PS script look like that would
run a batch file, sleep for a minute or two, then loop? Thanks.Hi District,
I‘m writing to check if the suggestions were helpful, if you have any questions, please feel free to let me know.
If you have any feedback on our support, please click here.
Best Regards,
Anna
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
How to run the .jpx file?
I have made the project using jbuilder in .jpx. how to run my project without jbuilder?
I tried to running the demo file from JBuilder.
I have followed the steps, but still error.
I did the steps bellow:
cd {my project\classes}
C:\Program Files\JBuilder6\sampless\IPWorks\telnet\classes>C:\java\bin\java -cp . UnnamedPackage.dep2.TelnetDemo
the error was:
Exception in thread "main" java.lang.NoClassDefFoundError:UnnamedPackage\dep2\TelnetDemo
and then I set CLASSPATH=C:\Program Files\JBuilder\sampless\IPWorks\telnet\classes
the error is the same.
when the command was C:\Program Files\JBuilder6\sampless\IPWorks\telnet\classes>C:\java\bin\java TelnetDemo
the error was:
Exception in thread "main" java.lang.NoClassDefFoundError: ipworks/IPWorksException
in the classes dir, there is package cache dir and the inside of this dir there is a file UnnamedPackage.dep2
So whats wrong with my command? -
i am writing a simple jsp file
i dont know how to run in the tomcat server
for servlets first i created the dot class files by using the command prompt and then in the tomcat server we go the webapps folder and i copy the class files and due to xml file i run the program
I have added the jsp-api.jar and el-api.jar files in the environment variables so what i do to run the jsp
can anyone can tell me how to do that
here is the program
<%@page contentType="text/html" import="java.util.*" %>
<!--
Date.jsp
-->
<html>
<body>
<p> </p>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing
="0" width="460" bgcolor="#EEFFCA">
<tr>
<td width="100%"><font size="6" color
="#008000"> Date Example</font></td>
</tr>
<tr>
<td width="100%"><b> Current Date
and time is: <font color="#FF0000">
<%= new java.util.Date() %>
</font></b></td>
</tr>
</table>
</center>
</div>
</body>
</html>i am getting an http 500 error for running the jsp file
here is the code
<%@ page import="java.util.Date" %>
<% Date now = new Date(); %>
<html>
<body>
<p>Hello, world! It is now <%= now.toString() %>.</p>
</body>
</html> -
How to run a batch file using java
Hi guys,
I want to run a batch file by running a java program.
i have tried for this code, but it is not working , plz guide me code.
Runtime r = Runtime.getRuntime();
Process p = null;
try
String[] cmd ={"cmd","/c","C:\\jarkarta-tomcat-3.2.3\\webapps\\DDS\\Resumes\\leap.bat"};
p = r.exec(cmd);
catch(Exception e)
System.out.println("Exception in Runtime batch processing."+e);
}You will need this:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html -
How to run a batch file from within an Oracle 9i Form?
Hi, I would like to execute a batch file from within an oracle form - I'm assuming there's some PLSQL command I can use? I am not allowed to use any third party libraries, and I'm hoping I can get away without having to progam any C or Java to do it. I don't want to run my java program from my form, but my lecturer is insisting on it.
Can anyone help?
Thanx
AdamCan u give me an example
I need to run a batch files that does a series of step doing dir ( in 3 different folders)
after each one it shows on screen with a pause & user press enter
can this work out ? -
How to run the .sql file in sql prompt?
i want to run the .sql file in sql prompt
Hi,
You can navigate to the directory where the .sql files is stored and launch the SQL Prompt.
After you login, you can run your script like this :
SQL>@my_script.sql;
Regards,
Sandeep
Maybe you are looking for
-
Cannot resolve symbol class Scanner (Error)
For whatever reason I get the error message "cannot resolve symbol class Scanner" when trying to run this: import java.io.*; import java.util.*; public class NameReversal public static void main(String args[]) System.out.print("Enter y
-
I usually post questions here, but I wanted to post something cool about CF8 for a change... I was trying to utilize our newly acquired CF8 for dynamically generating invoices from a flex program I wrote. Creating a form and filling in the fields was
-
Is it possible to Shuffle a Playlist?
I created a smart Playlist and, as far as I can tell from the iPod menu, it looks like it will play in the same order every time. Say it ain't so. iMac Intel 20"; 512MB Mac OS X (10.4.8) G5 iPod
-
How to Change Width of "Columns" in Falsh Chart
Hi, I am working on "STACKED 2D COLUMN" flash chart. I want to control the width of the Columns, because when there is only single column in the data. it fill's the whole chart region itself with single column. Thanks in Advance. Regards Sanjay
-
App updates error downloading. You tube no connectivity on Wi-fi but will download on 3G. What's wrong?