bat file does not run through Planner

Hi all

I use oracle 10g R2 on windows 64-bit.

I have the following code to run an executable after all each day of 5 minutes except FRIDAY and SATUREDAY.

He runs a .bat file. If I double click on the file beats, it works well. but it is not run by the Scheduler.

begin
  dbms_scheduler.create_schedule(
       schedule_name   => 'populate_free_pc_5_mint',
       repeat_interval => 'FREQ=MINUTELY; INTERVAL=5;
BYDAY=TUE,WED,THU,SUN,MON;' ,
       comments        => 'schedule to run daily after 5 minutes');
  dbms_scheduler.create_program
    (  program_name   => 'Populate_Free_PC',
       program_type   => 'EXECUTABLE',
       program_action => 'F:\free_access_lab\execute.bat >
nul',
       enabled        => TRUE,
       comments       => 'Populate the free_pc table'
    );

  dbms_scheduler.create_job (
    job_name=>'refresh_free_pc',
    program_name =>'Populate_Free_PC',
        schedule_name=> 'populate_free_pc_5_mint',
    enabled      => true,
        comments     => 'populate the free_pc table after each 5 minutes' 
  );
end;

could someone guide me what is the problem?

Thank you.

Just try something like:

"program_action =>" C:\WINDOWS\SYSTEM32\CMD.exe /c F:\free_access_lab\execute.bat > zero "

Tags: Database

Similar Questions

  • .exe file does not run

    Hello!

    I was download Scratch 2.0 .exe, it is always successful, but trying to run blocks windows saying that the file does not have a digital signature validates that verifies its publisher.

    Now, what should be done, I want to. The Scratch webite statement announcing this:

    Known issues

    • If your editor offline crashes directly after the opening of Scratch, reinstall the editor offline Scratch 2 (see step 2 above). This problem is due to a bug introduced in Adobe Air version 14. (released in April 2014).
    • Graphic effects (in "looks") blocks may slow down due to a known bug of Flash projects.
    • The backpack is not yet available.

    I made the recommendation but the download of files always fail.

    Hello

    Unfortunately, we only supports Microsoft products and services here.  For problems with other software, you will need to contact the creator of the software through their website or discussion forums.

    For Scratch 2.0, it will be https://scratch.mit.edu/discuss/

  • Why my batch file does not run properly in Task Scheduler

    My .bat files do not work with Task Scheduler.

    For testing purposes, I created a very simple, one line .bat file:

    ECHO this is a test. > TestFile.txt

    If I run this file by double-clicking it, it works correctly and created a text with a single line of text document.

    But if I create a task to run this file, the text file is NOT created.  For the task history log, said that the task was started and completed successfully but no text file is created.

    Any thoughts?  Thank you.

    Thanks for the suggestion, but I solved my problem.

    It turns out that you can't use the full path to the .bat file in "Program/script" field of the Scheduler of tasks but rather than actual .bat file name, then the rest of the way in the field "start in".

  • executable file does not run subgroups

    Hi all!

    I have to write a labview program that runs several screws according to what the user wants. Thus, in order to test different screws if something goes wrong, that I built a managed event structure with a controller of the tab. Each tab has a secondary that points to a VI that I need control of the main panel, once the application is running. Everything goes perfectly until I build the executable when everything is loaded by hand, but I can't control anything! (I continue to press the buttons, but they do not activate anything). All the buttons of an event in my control structure (measures DC motor, Records control, stop measures, etc.)

    In the attached picture, there is an example with my VI which controls a power supply for a motor continuous. This is supposed to be controlled by the button 'Set of tension' and every time you click this button the user can simply update the voltage until they are satisfied. However, despite the fact that everything works in the main labview VI, the executable file does nothing!

    No idea what I would be missing / doing wrong? How are we supposed to use supPannels in order to work in an executable file?

    Thanks for any help anyone can provide!

    simm01

    The compiler does not include in this context, the way constants. You will need to 'always include' in construction, or replace them with a static ref VI, in which case they will automatically be included in the compilation.
    /Y

  • How do I trouble or repair cmd.exe on Win XP? For some strange reason the extension bat files does not work

    Hi all

    I have four PC all currently running Win XP Professional Service pack 3. Unfortunately only two of them will run the extension bat files when I double-click the file or run the file at the cmd prompt. The other two for some strange reason will not. When I double-click on them the cmd window opens quickly and then stops as quickly. There, someone knows what's the problem?

    I tried to do my research and on another forum, someone suggested to reinstall or repair the cmd. Is this possible? If so, how? What is the right course of action at all?

    Please if someone could help me to solve this crisis, I would be extremely grateful. Without these bat running files, I can't render my farm runs correctly. Thank you.

    Too bad. Figured it out. Thanks anyway.

  • Stand-alone labview application (.exe file) does not run correctly

    Hi all

    I'm doing a labview application only to run on another computer (I never did this before).

    I went through the tools-> build application prompts and was able to build an exe file.

    the program is supposed to control a power meter and measures of power, then save them in a text file.

    When I run the exe, on the same computer, I compiled the exe, the program generates a text file to save data to, but he cannot communicate with the electricity meter.

    There are a few screws Sub and a dll file that are used to communicate with the electricity meter. Would it be possible that I am not say labview to correctly

    include these files when I create an executable?

    What are some common problems that arise when building stand alone applications that could be cause of my problems?

    And no one knows of any good tutorials on building applications stand alone in labview, other than the help files OR?

    Thanks for your help,

    Also, if you used the VISA, include the runtime with your Installer.

  • install .exe files does not work on Windows 8 Pro?

    I upgraded from Windows 8 Community Preview of Windows 8 Pro, according to the guidelines.

    Now I have compatibility problems with some of my video editing applications.

    In addition I just downloaded two new products, including CyberLink_PowerDirector11_Ultra, which is supposed to be 100% Windows compatible 8. The downloaded .exe installation file does not run. Neither the downloaded .exe installed file for VideoPad.

    Can anyone help please?

    I suggest do you a refresh, then reinstall your applications, because it's one of the side effects of the upgrade of the preview of the final version.

    However you do it, its not supported.

    8refresh

    Here's what happens when you refresh your PC:
    · Your files and your personalization settings do not change.

    · Your PC will change back to their default values.

    · Applications on Windows Store will be kept.

    · Applications that you have installed discs or sites Web is removed.

    · A list of removed apps will be saved to your desktop.

    These steps will take you through refreshing your PC:

    · Press the Windows key + C on your keyboard to show the charms (if you use a touch screen: touch the right edge of your screen and drag your finger to the left)

    · Click settings

    · Click change PC settings

    · Click general in the left column

    · Under refresh your PC without affecting your files, click Start

    Then follow the instructions that will be provided on-screen to cool your PC.

  • Disk space free (compress old files) does not change after you run Disk Cleanup.

    Original title: win. XP disk cleanup

    Win. XP: Free Disk Space (compress old files) does not change after you run Disk Cleanup.  Confused.

    Thank you. VC

    Compress your files, your computer will slow down a lot. I recommend that you don't try this.

  • Windows Media player on my machine does not run some AVI files. How can I check what the problem with AVI files. Files are running in other utilities of free ware

    Windows Media player on my machine does not run some AVI files. How can I check what the problem with AVI files. Files are running in other utilities free ware. Also, windows Explorer does not display dimension and other video related information for the file. Y at - it a tool that can indicate what exactly is the problem with the file.

    Ritu

    Hello

    1. you get any error message?

    2. don't you make changes to the computer before the show?

    Please follow the steps from the link below.

    http://support.Microsoft.com/kb/279242

  • When I started > run > ncpa.cpl I get message error "file does not have a program associated with it... »

    XP SP3 with ALL critical & almost all critics not updated.

    I'm trying to follow the instructions in MS Article 871122 OTF Windows to configure my wireless network settings.

    But when I try to... Start > run > ncpa.cpl I get message error "file doesn't have a program associated with it".

    Thank you

    Steve

    HDTV - calibration.com

    Ok.  That's what steps 1 and 2 of the instructions in KB 871122.  You are now up to step 3.

    Now we will solve the problem "file does not have a program associated with it".  Go tohttp://www.dougknox.com/xp/file_assoc.htm .  Read the explanatory text and then click the 5th from the top:CPL file Association Fix download the zip file, extract the reg file, then run it.

    Because this association should not have broken, I suggest that you download, update and run

    Malwarebytes Anti-Malware and

    SuperAntiSpyware

  • I have a html file and in it, I have a PHP contact form. However, the html code does not run php. pls help... Thank you

    I wrote a simple html Web page with menus and pull-down (using Dreamweaver) which also includes a contact form. The contact form is in PHP. However, when I run the html file, all right and that the contact form appears, however, she does not run PHP code. Do I have to make any changes of setting or download all the files? Thank you very much

    If you run your own apache server, then you need also a mail server, but if you use a hosted service then your host should have the scripts and HTML on their Web site.  Otherwise, you can use Wufoo free version and you can create your own form and code (JavaScript) that can be integrated into your HTML page. I used Wufoo in Joomla sites and it works very well.

  • I have a new HP Envy with Windows 8 desktop computer that still does not run properly. I rebooted, restored, ran chkdsk, sfc/scannow, uninstall/install update etc...

    I have a new HP Envy with Windows 8 desktop computer that still does not run properly. I have rebooted, restored (im doing this), ran chkdsk, sfc/scannow, malware, virus, uninstall/install etc and my machine wil always do not run for a long time without going through some sort of problem after an hour or two.  Can anyone suggest what to do about this? I read a lot of information online on all the windows 8 and fixes bugs, etc, but anything Microsoft/Windows, which ensures its customers, a hotfix or compesating their customers with software that still works. This isn't a hardware problem, and I can't keep day and bad shooting and trying to fix the day things in?

    Sincerely,
    A client who is a loss for words.
    Here are some problems in no particular order.
    1.) apps to not install it, and/or Windows saying they are when they are in fact not. The fix to install / uninstall, or get on the site of windows directly in general does not, and or does not at all.
    The change permissions 2.) does not work on files that you should be able to access in changing oxnership, permissions, etc.
    3.) Google chrome won't let me access my account of microsoft (or fact rarely) trying to access assistance. But internet Explorer doesn't?
    Randomly will increase from Internet 4.) a previous connection wired to wireless to a reboot.
    5.) my 8 'key' windows was only shown to me after that I have let Windows scan my machine online? Why? I paid for this... I restarted it and it says: service not available (it worked the third attempt which was 1-3 minutes after the initial analysis). Windows only showed my product ID not the key. I know that my victory. 8 was OEM when preinstalled I bought it new, but why didn't we files on it that had nothing to do with activation, appearing on dates for three weeks, or so before I bought it. What is the 'activation of the factory'?
    6 :) Windows Essentials does not hang for a long time, and the troubleshooterprogram of update simply does not work (I had to go to the website to try tp operate, the bluetooth functionality is not good that there is an error.
    7.) windows scan and repair gets stuck at 27% (Im not the only one with this problem).
    8.), avery MS Office 2013 Disappears so often and not easy to reload "we have encountered a problem.
     

    The computer manufacturer is responsible to see that it works properly with Windows 8. It says that it is a new computer I contact HP and make these problems their. If you don't get satisfactory results I turn and look elsewhere for a computer. Hope this helps and if you need another post to help and we will be happy to help you.

    The above opinion is mine and mine nothing and does not necessarily reflect that of Microsoft, it's employees, or any other Member of this forum.

    "When we try to take anything by itself, we find it hitched to everything else in the universe." -John Muir

  • Creating cloud DLM - files does not exist

    Hello

    We have had odd issues when you try to install Acrobat Pro XI via a package created with CCP.

    Here is the summary:

    • Name of license created for Acrobat Pro XI x 86 package (ignore conflicts, with disabilities AUM, deploy in the default directory
    • Installation ran as administrator on the client computer (Windows 7 x 86 SP)
    • Adobe Creative cloud settles and the desktop icon is created
    • Adobe Acrobat Pro XI will appear in programs and features, but has no icon and no desktop/Start Menu icons are created
    • When launch CCA and the connection, no Apps tab does not appear
    • When turn on the trace, DLM.log shows the following:

    20/03/15 14:11:32:448 | [TRACE] |  |  |  |  |  |  | 3964 | Using manually set proxy on the computer - localhost:3128

    20/03/15 14:11:32:448 | [INFO] |  |  |  |  |  |  | 3964 | The file to download is https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v1/context?authorizati our =<-authorization data > < consumerAccessToken > eyJhbGciOiJSUzI1NiIsIng1dS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SIwUqYvrgmZZkVes0w8gTv_BqpXHAfjEk9chpWcaazFxY-cLD ccGbnm_Yop_uJ2Krb0DyCFrbCsiAzNVTB-S56aNYzA < / consumerAccessToken > < / authorization data > & clie ntID = acc_desktop & contextKey=6D5915F354ECB7470A4C98A4@AdobeID & producerId = ccui_mktg

    20/03/15 14:11:32:449 | [INFO] |  |  |  |  |  |  | 3964 | Going to download the file to C:\Users\xxxxxxx\AppData\Local\Temp\/{BD74C69A-E665-4566-8227-E4D487D73604}

    20/03/15 14:11:32:449 | [INFO] |  |  |  |  |  |  | 3964 | Preference: The customer put the preference for single stream download

    20/03/15 14:11:32:449 | [TRACE] |  |  |  |  |  |  | 3964 | Validation of preference for startAddress = 0 and bytesToDownload = 0 for fileSize = 0

    20/03/15 14:11:32:449 | [TRACE] |  |  |  |  |  |  | 3964 | The attributes of the directory file - C:\Users\xxxxxxx\AppData\Local\Temp\\ is 8208

    20/03/15 14:11:32:449 | [TRACE] |  |  |  |  |  |  | 3964 | File does not exist in the C:\Users\xxxxxxx\AppData\Local\Temp\\{BD74C69A-E665-4566-8227-E4D487D73604}.aamdownload

    20/03/15 14:11:32:450 | [TRACE] |  |  |  |  |  |  | 3964 | the file size to extend is 0

    20/03/15 14:11:32:450 | [TRACE] |  |  |  |  |  |  | 3964 | number of segments created 1

    20/03/15 14:11:32:450 | [TRACE] |  |  |  |  |  |  | 3964 | who runs the thread (4176)

    20/03/15 14:11:32:451 | [TRACE] |  |  |  |  |  |  | 3964 | ID of the thread for the file serializer is 4176

    20/03/15 14:11:32:451 | [TRACE] |  |  |  |  |  |  | 3964 | Number of threads of downloader is 1

    20/03/15 14:11:32:587 | [TRACE] |  |  |  |  |  |  | 4372 | who runs the thread (0)

    20/03/15 14:11:32:588 | [INFO] |  |  |  |  |  |  | 4372 | number of threads is 0 and active thread count is 1

    20/03/15 14:11:33:375 | [ERROR] |  |  |  |  |  |  | 3824 | Is the windows error code - 12150

    20/03/15 14:11:33:475 | [TRACE] |  |  |  |  |  |  | 4372 | to finish the job of file pending serializer

    20/03/15 14:11:33:541 | [TRACE] |  |  |  |  |  |  | 4372 | before closing

    20/03/15 14:11:33:541 | [TRACE] |  |  |  |  |  |  | 4372 | After the close of

    20/03/15 14:11:33:541 | [TRACE] |  |  |  |  |  |  | 4372 | File does not exist in C:\Users\xxxxxxx\AppData\Local\Temp\\{BD74C69A-E665-4566-8227-E4D487D73604}

    20/03/15 14:11:33:542 | [INFO] |  |  |  |  |  |  | 4372 | * Download the file acheves.* *.

    • I am able to navigate to the URL of download long without problems (added https://prod-rel-ffc-ccm.oobesaas.adobe.com to trusted as precautionary measure Sites) but when watch the folder folder I see a file is downloaded which corresponds to the same naming convention for the file in the DLM journal names, but the name is not the same.
    • Customer uses Symantec SmartConnect proxy and here are the logs from proxy showing that connections are accepted:

    2015 03-20 T 14: 11:29.960 [1800] INFO listener [3128] - accepts a user login: xxxxxxx

    2015 03-20 T 14: 11:29.960 [1800] INFO IOChanFactory [3128] - CONNECTION prod-rel-ffc - ccm.oobesaas.adobe.com:443 OnLAN/proxy1.uk.webscanningservice.com:3128 (S406) xxxxxxx

    2015 03-20 T 14: 11:34.356 [1800] INFO listener [3128] - accepts a user login: xxxxxxx

    2015 03-20 T 14: 11:34.357 [1800] INFO IOChanFactory [3128] - CONNECT ans.oobesaas.adobe.com:443 OnLAN/proxy1.uk.webscanningservice.com:3128 (S407) xxxxxxx

    2015 03-20 T 14: 11:34.679 [1800] INFO listener [3128] - accepts a user login: xxxxxxx

    2015-03 - 20 T 14: 11:34.686 [1800] INFO IOChanFactory [3128] - CONNECT na1e - acc.services.adobe.com:443 OnLAN/proxy1.uk.webscanningservice.com:3128 (S408) XXXXXXX

    • External Symantec logs have also been verified which show that connections have been accepted by the external proxy server

    I tried the following to fix the problem with no joy:

    • Recreate the package
    • Try on a client of SP1 Windows 7 x 86 Virgin
    • Reinstall the latest version of the application manager
    • Reinstall the latest version of Adobe Creative Cloud
    • Add the following sites to Trusted Sites:

    https://*. Activate.com

    https://*.Adobe.com

    https://*.adobelogin.com

    https://*.adobeoobe.com

    One thing we cannot do, it is the proxy for legal reasons, that all traffic must pass through there.

    So, to sum up, I am able to package and install Acrobat Pro XI on the client machine, but then not be able to run it. I am able to connect to Adobe Creative Cloud and look at property, etc, but the applications tab does not appear.

    Any help would be welcome.

    Hi David,

    Looks like a problem with the adobe Application Manager. Can you please try to rename SLCache file location below?

    C:\Program Files (x 86) \Common Files\Adobe\SLCache

    You can also install handler application adobe on a test computer and then install Acrobat by using ExceptionDeployer.exe.

    I hope this helps.

    Thank you
    Ashish

  • executable file does not appear in the list of programs

    After installation of my executable it does not appear in the list of all Windows programs. I've built a lot of executable and installers before but this is the first time I see this. The folder is created in the Program Files (x 86) directory and the program performed well when I double-click on the .exe.

    This sw was initially developed with LV10 with WinXP then moved to LV2012 with Win7 64 bit and then to LV2013 and it uses a plugin architecture (I'm still not very familiar with this).

    I also have these following questions:

    1. I don't remember so many folder created after building an exe file (see photo "filelist.png") before moving this application to LV2013, why all these dataX folders are created? (associated with the plugins?). Except for the data folder containing my ini and xml configuration files these folders all contain a single mnu file.

    2 - Why are there some records of pilot instrument included in the compilation? (Agilent, Keithley and Tek) I'm also using other equipment, and they do not appear in the construction. These problems with the build because of their tree VI live I had to either check turn debugging on or off the use of the diagram structure on these screws diagram which is certainly not the right way to do it.

    3. probably the most important, what would be a document of reference on how to create an executable and a Setup program for an application architecture plugin.

    Thank you

    Ben64

    You use LVOOP you use the NI Report Generation Toolkit, which is implemented using OBJECT oriented programming. Already this explains some of the additional folders that you see.

    Other components are of course part of lvlibp (packed project library) and where it will not integrate the EXE itself. Also their dependencies... which may explain support directories (data1, data2,...).

    Referring to other settings, the log file does not help much. So we can not tell you why the installation program does not create a program shortcut in "start > programs". If you check the "shortcuts", you should be able to see if there is a routine in the Setup to create such a link or not. If the parameter is there, but the installation fails to create, it can be connected to the user rights that you use to run the installer...

    Norbert

  • When I click on a shortcut on my desktop I get a message saying that the file does not have a program assoiated with this file

    When I click on a shortcut on my desktop I get a message saying that the file does not have a program assoiated with this file

    Hello

    These are shortcuts to Internet?

    1. make sure that Internet Explorer is the default browser to the control panel > Add/Remove Programs > Set Program Access and Defaults, choose Microsoft Windows or custom. Make sure that IE is selected as the default browser.

    2. on this page download and run the patch for files of the URL.
    Difficulties of Windows XP file association:
    http://www.dougknox.com/XP/file_assoc.htm

    Don

Maybe you are looking for