How to create an automated script

Hi friends!

Back with my doubts!

I work with one based on the web and client server according to the program.

I've made some improvements in the program to generate new reports. What to do every day is

1. create the necessary tables/insert records to the report - the request is ready

2. the web presentation is ready, so when someone chooses the report and click, it accesses the table more up-to-date. Yes, nothing to worry about this part.

3. it must generate an Excel for this report. -J' have the loan program, but to use the program, I need to use about 10 lines of script to send the parameters

4 - it must send email to certain addresses. -coding is ready and I can use the script as well.

5. I wonder, how can I consolidate them in a script... it's just like the program excel, the following line is called, you call the mail program...

6. and how to automatically call every day?

Please advice.

NOTE: scripts for excel and e-mail, are fixed, even I wouldn't have to make any changes to the passed parameters, such as name and e-mail addresses.

Thanks a bunch

see you soon

Benard

Published by: user645399 on June 28, 2009 20:24

I think you need this kind of the master script in a file "Master_Script.txt", that can be run through trigger external/internal.

@Mail_Script.txt
@Excel_File_generate.txt

within these two txt, there will be the code for their respective work.

Tags: Database

Similar Questions

  • How to create an installation script to support objects

    Guys please help with this I have been through Google all day but with no luck, I moved that the workspace to the production environment and application as well, but the thing is the tables using the app has not been moved with the application. On the assumption of the objects in the application page, I selected Yes in the include supporting objects option. Does anyone know how I could create an installation script to create the tables as well. ?

    rhisingh,

    Read documentation Application Deployment

    See also related book ORACLE APPLICATION EXPRESS SUPPORTING OBJECTS

  • How to create an effective script that mass deletes snapshots

    our company is currently using a product that drives the operating system and software updates for our virtual machines and takes a snapshot before pushing updates in case something breaks. the problem is that the same software does not remove the pictures until next update button and you're just too long we wait with snapshots lying around. what I did to remedy this situation is I built the below script and configured it as a task.

    # Add the snap-snap powercli in
    Add-PSSnapin VMware.VimAutomation.Core

    # Connect to an instance of vCenter
    $strviserver = "vCenterServer".
    SE connect-VIServer $strviserver

    # Get all of the snapshots for each virtual machine in the vcenter, then delete them
    Get - VM | Get-Snapshot - name "updates" | Remove-Snapshot - confirm: $false

    # Remove the snap-snap powercli in
    Remove-PSSnapin VMware.VimAutomation.Core

    It works, but it is not nearly as effective as I wish it were. Essentially, the script currently removes a snapshot at a time right now. I want so he can find any snapshot on this server vcenter by the same specified name and submit the task deletion-Snapshot for each snapshot at the same time. This should cause a lot of tasks to try and tail. The effective result would be that vCenter will treat all instant destruction because it has resources to do in a given time and will address the queue there resources.  If someone can tell me how to do this or something better, I would really appreciate it! Thanks in advance!

    You can consider using the RunAsync switch on the cmdlet Remove-Snapshot .

    In this way, that the script will continue while delete the snapshot is still running.

    Note that there is obviously that a limit on how many parallel snapshot removes that may occur due to the resources available.

  • How to create a validation script that sets my value to a minimum of 1 (even if the calculation of the value is less than 1)?

    I use a notation simplified field to calculate the value

    (kg1 * 1.5) - diaporama1

    I want my value to only a minimum of 1 at any time, even if the actual value itself is less than 1

    Thank you!

    Add this code in the custom validation script:

    If (event.value<1) event.value="">

  • How to create a button switches with Automator

    Greetings,

    I want to create an executable if/then script Automator or Apple Scripts. I have minimal experience with Apple Scripts, so I don't know if this is even possible. The script to check if a particular folder has no content and depending on the outcome, I need to run one of the two Automator scripts that I created.

    If possible, I'd like to have a toggle instead, simply switch off between my two Automator scripts.

    Any help is very appreciated.

    Here are the basic flow to test whether a specified folder is empty or not. He calls automator once with the appropriate workflow.

    property folder_to_check: ((path to the Office) as text) & "Test:" as alias

    property workflow_for_items: ((path to the folder) as text) & "folder_has_items.workflow".

    property workflow_for_noitems: ((path to the folder) as text) & "folder_has_noitems.workflow".

    game of qtdworkflow to «»

    say application 'Finder '.

    if elements of folder_to_check is {} then

    form of city of the trajectory of the value qtdworkflow to POSIX workflow_for_noitems

    on the other

    form of city of the trajectory of the value qtdworkflow to POSIX workflow_for_items

    end if

    end say

    qtdworkflow & worth theResult for shell script "automator."

    return

  • How to create a character of text in Illustrator by Script?

    I want to add a Rectangle around characters.

    With indesign: I can create the outline of the characters,: ex: Dim oaPols = oRange.CreateOutlines (False)

    But with Illustrator can only create TextFrame shape.

    How to create a character of text in Illustrator by Script?

    Thank you all.

    AHA!

    You can duplicate your original text block, put a coat of any color on the range of text you want and then create the contours of this copy. Now, the characters who are all developed in transparent traces will be in their correct positions and contours more will be your flagged - items you can delete the rest.

  • How to create a default domain and deploy the app in jdeveloper using a script or code (not manually)

    Hello

    I installed Jdev using silent installation.

    Now I have some apps already created I want to create a default domain, and then to deploy apps in it through any script or ants?

    Can someone help me on this?

    Thank you and best regards,

    Vivek Pemawat

    Hi This worked for me I checked the log of the jdev, how he creates the domain and then using that I created the field

    I used the python script for deploying applications:

    Connect ('weblogic', 'welcome1 ','slc01fnw:7103 ')

    deploy (appName = ' Application13 ', path='/home/rasubra/jdeveloper/mywork/Application13/deploy/Application13_Project1_Application13.ear' target = 'DefaultServer')

    Exit()

    called using wlst.sh TestAppsDeploy.py

    Thanks for all the help!

  • How to create the script to compile procedure files in oracle - urgent deadline...

    How to create the script to compile procedure files in oracle.    about to go live and have much .prc pkg in a directory usr/tmp/ar... Po... human resources etc. need to create a script to compile all the files in the folder, then do not open all necessary .prc suggestions on how to do it.   Thank you Tom.

    (1) an urgent need, ASAP,... are words that do not in a forum of volunteer. We are here to help if you need it now, for free, open a SR.

    (2) oracle procedures are not files.

    (3) I think you are trying to run operating system packages, no Oracle procedure. right?

  • How to create a script which gives all depedencies an object in 11g

    How to create a script which gives all depedencies an object in 11g

    You can use dba_dependencies for this... go through the manual.

    I don't know in this thread, someone will come up with the query for you, but there is another approach is:

    in sqlplus:

    SET SERVEROUTPUT ON SIZE 1000000
    EXEC  dbms_utility. get_dependency ('TABLE','SCOTT','EMP');   -- object_type,user,tablename as parameters
    

    See you soon,.
    Manik.

  • How to create a form of free paths using script?

    Hello

    I want to create a form in which I add multiple points

    I try to use GraphicLine, but it adds no way point in this

    var myGraphicLine = myPage.graphicLines.add ();

    myGraphicLine.paths.item (0).pathPoints.item (0) .anchor = [72, 72];

    myGraphicLine.paths.item (0).pathPoints.item (1) .anchor = [72, 144];

    myGraphicLine.paths.add ();

    myGraphicLine.paths.item (1).pathPoints.item (0) .anchor = [72, 144];

    myGraphicLine.paths.item (1).pathPoints.item (1) .anchor = [90, 100];

    myGraphicLine.paths.add ();

    myGraphicLine.paths.item (1).pathPoints.item (0) .anchor = [90, 100];

    myGraphicLine.paths.item (1).pathPoints.item (1) .anchor = [110, 144];

    myGraphicLine.paths.add ();

    myGraphicLine.paths.item (1).pathPoints.item (0) .anchor = [110, 144];

    myGraphicLine.paths.item (1).pathPoints.item (1) .anchor = [144, 72];

    I want to create a W shape using script type.

    How to create a form of type free paths (like those drawn with pencil or pen tools) using js?


    Thank you

    This is because you create separate ways. Create just a first, and then add all the pathpoints.

    Do not forget that all first path you create comes with free first 2 points, so just move these in the position as shown above. Then add the new points to the same path, rather than create new ones (lines #4, #8, and #12 in my example).

  • How to create indesign using Java Script

    I am new to indesign and want to create indesign application using JavaScript.

    When I use AppleScript to create the Application Indesign I use this statement

    Tell application "Adobe InDesign CS5.5"

    myDocument to make document with the properties of the value

    tell the end

    Application InDesign create successfully.

    How to create the Application Indesign using JavaScript?

    or what is set equivalent to (tell application "Adobe InDesign CS5.5") in Java Script.

    There is a sample java script given on the forum or in the sdk. These departure example with app.

    When I debug these java script using ExtendScript ToolKit 3.6 it gives error on app (application not defined). I think that this app AI application object.

    How to create indesign application object app in javascript?

    Although this script runs successfully when I put these script in C:\Program Files\Adobe\Adobe InDesign CS5.5\Scripts

    and executing these script use the Scripts panel (choose window > utilities > Scripts), and then double-click the script name in the Scripts panel in indesign application. But in this case I have indesign application start and then choose window > utilities > Scripts, and then double-click the script name in the Scripts panel.

    I want to create Application Indesign (instance), using JavaScript.When I run or (debug) my JavaScript in any javaScript tool as ExtendScript ToolKit 3.6 then Indesign application should start, as in the Apple Script.

    Thank you

    long story short... NO!

    However, if you run the script from ESTK, you need not copy the script in the folder "Scripts". Do not know exactly if that's what you want.

  • How to create the object rectangular box with a pure action script.

    How to create the object rectangular box with a pure action script?

    I think, it can be done through the clip library, but I'm not sure. Please, I want to take the suggestion to create a rectangular box as a script through

    Take a new file and write about the first image the code below, it works fine:

    var rect = new Shape();
    rect.graphics.beginFill (0xFF0000);
    rect.graphics.drawRect (0, 0, 100,50);
    rect.graphics.endFill ();

    var MC = new MovieClip();
    mc.addChild (rect);
    addChild (mc);

    If this doesn't solve your problem then paste the error you get

  • How to create a server through WLST (Weblogic Scripting Tool)?

    How to create a server through WLST (Weblogic Scripting Tool)?

    Thanks in advance...

    Sanjay

    It can be done using createServer. WLST, run help ('createServer') for more information on the syntax.
    -Saly

  • location of Automator script documents

    Where stores Automator scripts?  How can I completely remove a script?  I find no information about it in the help documents.

    What kind of script? Where do you see the script?  What is a script that you created?

  • How to create Global Variables in Essbase

    Hi gurus,

    In essbase automation, I saw generally the statement below.

    Connection $1 identified by $2 $ 3;

    and of course many other statements also.

    1. now, my question is where and how can we create the variables ($1, $2 and $3).
    2. they are Substitutinal Variables or Environment Variables.

    Pls let me know in detail how to create and define the variables above.


    I tried to create them as variables indirect in environmental assessments, but when you run the maxl order Login $1 $ 2 $3 its saying this $1.. variable cannot find etc.

    They are variable positional parameter and are passed in a maxl script, you can read all about it at:-http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/maxl_syntax_vars.htm#syntax_techref_proj_maxl_ddl_utils_shell_d0e227

    See you soon

    John
    http://John-Goodwin.blogspot.com/

Maybe you are looking for

  • How do you turn fasteners?

    I hate tabs and that you don't have not upgraded to the latest version of Firefox because the Tab Killer add-on does not work on newer versions. As Firefox is customizable, how do you turn fasteners in the new version?

  • 15 - a010sb of Compaq notebook pc: BIOS settings change

    I would like to change the Bios settings. I would like to first of all "Safe Boot" to DISADLED When I do, I get a screen with this text: Change of operating system startup Mode A change in the Safe Mode to Boot operating system is pending. Please ent

  • All in One Software won't uninstall with the HP scrubber

    HP Officejet 6500 Wireless all-in-One Printer - E709n  OEM of Windows 7, 64-bit Printer/HP Desktop worked well together for a few years.  Also have an E710n-z on the same wireless network.  Apparently, an update to Microsoft Word corrupted E709n defa

  • Chips with 3 delimiter characters using regular expressions

    Hello worldI have a function that is able to mark the input in a collection string using regular expressions.In case the input string is a character such as the comma or semicolon delimiter,We can just get the result we want like the example below. S

  • Trace vector &amp; image - where's the color?

    Hello there!I decided to take up adobe Illustrator and now I practice guiding logos. I have one that I'm testing my knowledge:I learned beautiful ability to trace things vector image for me, but it ignores the trees and turn it into black and white s