a problem using dbms_scheduler.create_job. I can't do the work

I do work to run sh program with 5 arguments, even if I put the time, work does not work...
Please tell me, why it does not work...-. -;

I write the source for jobs below...

exec (dbms_scheduler.create_job)
job_name = > 'run_sh ',.
job_type = > 'EXECUTABLE. "
job_action = > ' /fsoracle/app/oracle/inst2/if_cft/test.sh ZADA/fsoracle/app/oracle/product/rdbms/log/KFG. DD SHRCOM. HR DIRECTOR. A03 KFG. DD SHRCOM. HR DIRECTOR. A03 25 25',
start_date = > sysdate + 1/1440
);

Hello

You don't have to create a program first, put directly in the work should work as well.

Your pl/sql code is correct, then you should check out a few things with the shell script

-is set + rx
-is the first line #! / bin/sh
-should I use the full path to the executable files for example/usr/bin/ftp
-It defines the variables

If that all seems well, consider adding lines of logging to your shell script to debug what goes wrong.

See this post for more tips

Guide to the external work on with dbms_scheduler 10g for example scripts, batch files

Any other questions about the Scheduler, you can use the forum Planner here

Planner

Hope this helps,
Ravi.

Tags: Database

Similar Questions

  • dbms_scheduler.create_job and create_program to run the shell program

    dbms_scheduler.create_job and create_program to run the shell UNIX of PL/SQL program

    I guess that the problem could be a shell program. "send_file_susin.sh", I did run the CFT program which is to transfer files. While I tried to this problem, I heard that I should use dbms_scheduler.create_program and create_job to execute the shell command. Therefore,.

    I've done
    () dbms_scheduler.create_program
    program name = > "SEND_FILE_SUSIN"
    program_type = > "EXECUTABLE."
    program_action = > ' / fsoracle/app/oracle/inst2/if_cft/send_file_susin.sh',
    number_of_arguments = > 0,
    enabled = > TRUE,
    Comments = > 'Test '.
    );
    commit;
    in a package, then I run the package.
    program and job

    DBMS_SCHEDULER exec. () CREATE_JOB
    job_name = > 'run_sh1 ',.
    program name = > "send_file_susin"
    start_date = > sysdate + 1/2880.
    repeat_interval = > null,
    End_date = > null,
    job_class = > 'DEFAULT_JOB_CLASS ',.
    enabled = > true
    )

    When I ran, I would check there program and job send_file_susin in the sched.programs and sched.job classes. The job will run about 30 seconds later.
    After 30 seconds, I saw the work was done, but I couldn't see the log of the CFT program. This means that the file have not been transferred...

    I don't know what is wrong with it... Please, someone that solve?
    Thank you very much in advance.

    Hello

    You don't have to create a program first, put directly in the work should work as well.

    Your pl/sql code is correct, then you should check out a few things with the shell script

    -is set + rx
    -is the first line #! / bin/sh
    -should I use the full path to the executable files for example/usr/bin/ftp
    -It defines the variables

    If that all seems well, consider adding lines of logging to your shell script to debug what goes wrong.

    See this post for more tips

    Guide to the external work on with dbms_scheduler 10g for example scripts, batch files

    Any other questions about the Scheduler, you can use the forum Planner here

    Planner

    Hope this helps,
    Ravi.

  • I have a problem with corruption.  How can I change the timeline on an existing project.  Each image is moved about 2.5 min.;  My preferences are for 180 frames.  It does not seem to consider one after the fact.  Is it possible to copy the entire thing on

    I am new to use the forums.  How to start a discussion?  The ICO next which is grayed out.

    I have a problem with corruption.  How can I change the timeline on an existing project.  Each image is moved about 2.5 min.;  My preferences are for 180 frames.  It does not seem to consider one after the fact.  Is it possible to copy the whole thing and put it in a new, m not corrupted project?

    Hello and welcome.

    I feel for you after reading your story, however, it that are supposed to do? It is a forum for Dreamweaver and to my knowledge, Dreamweaver has no functionality called the chronology.

    Could you please explain the problem so that we can understand?

  • How can I change the work plan

    How can I change the work plan

    Can you explain more? What is changing? You can use the move tool V to move the artboard, it is the tool of workplan under the move tool, which can change the size of the artboard. Move the tool will move back if you try to move a work plan or if you try to change its size.

  • I have really big problems using my Bell turbo key card to the internet can help you?

    I click on icon will not appear anywhere I'll try. This last bracket upward, I unplugged then tried power .it connected

    Hi CarolHalliday,

    I understand that you are facing problems connecting to Internet using turbo Bell key. I understand the inconvenience.

    (1) you get an error message?

    (2) did you of recent changes to the computer before the show?

    (3) what version of the Windows operating system is installed on the computer?

    I suggest also please contact the Bell Support for further assistance.

    Here is the link: http://support.bell.ca/

    Please respond with the above information so that I can help further.

    Kind regards.

  • I bought a used laptop. How can I clean the computer and only the program that the value of the factory. It's a dv4000 HP clubhouse with windows xp

    I bought a used laptop and the previous ovner couldn't remember his password since it's been more than a year she opened a session.  How can I clean the computer and restore it to that only programs that comes with it when buying or facotry settings.  It's a HP Pavilion dv4000 with windows xp?  I have not all discs.

    Go here: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00006110&tmp_task=useCategory&cc=us&dlc=en&lang=en&lc=en&product=464513 and click on the link that best matches your computer (e.g., Presario, Pavilion and HP Compaq Business PC manufactured and sold in 2006 or later).

    Assuming that your computer is 2006 or later, following the links eventually will lead you to the following directions:


    Reformatting a hard drive should be considered a last resort to solve a problem with a computer system. The hard drive can be reformatted and reinstalled the operating system, using the system PC Suite hard disk recovery. Reformatting the hard drive will overwrite all data on the disk. To preserve the data, back up the data of the user as; letters, leaves of calculation, graphics and emails to an external storage device before you reformat the disk. If the PC does not work in the Windows operating system, see reformatting since the recovery disks .
    Do the following to reformat the hard drive and reinstall the operating system.
    1. Connect the PC to the power adapter.
    2. Close all programs.
    3. Click Start , click principally made programs , select System Restore and click on the PC recovery .
    4. When the recovery options are offered, select the option to perform the Recovery of PC and click Next .
    5. The PC will restart.
    6. When the recovery of the PC of welcome message, click OK to continue.
    7. In the system recovery Panel, select System Recovery . By default, the system will perform a complete reformat and will destroy all user data.
    8. Restart the PC when prompted.
    As alternative method for the steps above, click Advanced Options , select the destructive recovery option and click Next to begin the reformatting process.
    The PC is in original factory State and all data in the system, such as the place and the date must be reconfigured.

    NOTE: any software "trial offer" has been included in the original factory image, it will be reinstalled, but it won't work (the test period will have expired).  If so any trial software is a security antivirus software or others, before connect you to the Internet, you must uninstall (using an uninstall tool provided by the manufacturer if available antivirus software) and then install your own anti-virus software.  So, you should download the uninstallers necessary and installers (or buy the software on CD) using another machine before starting this project.

    NOTE 2: See the following important tips from MS - MVP PA supporter (once the restore is complete, click Start > run > winver > OK to determine what Service Pack you have):

    HOW TO get WinXP SP1 or SP2 fully patched after a 'clean install': http://groups.Google.com/group/Microsoft.public.WindowsXP.General/MSG/a066ae41add7dd2b

    1. download & save the installer for WinXP SP3 on your desktop:
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=5b33b5a8-5E7...

    [Yes, you can jump SP2 if you run WinXP SP1.]

    2. read & take into account:
    http://msmvps.com/blogs/harrywaldron/archive/2008/05/08/Windows-XP-SP...

    3 connected as long as administrator, if necessary, double-click the saved file to install WinXP SP3.  Follow the prompts. Be patient and restart twice when the installation ends.

    4. make the resolution method 2 here (believe me):
    http://support.Microsoft.com/kb/943144

    5. go to http://windowsupdate.microsoft.com . Install all required software, and then click CONTINUE. Select CUSTOM and scan | Install the critical updates of security offered. Still, follow all the instructions.

    [I do NOT recommend install IE7 through Windows Update.]

    6. make sure that automatic updates is enabled; FC.
    http://support.Microsoft.com/kb/306525

    Other references:

    Free unlimited installation and compatibility support is available for Windows XP, but only for the Service Pack 3 (SP3), until April 14-09. Chat and e-mail support is available only in the United States and the Canada.

    Go to http://support.microsoft.com/oas/default.aspx?gprid=1173 . Select "Windows".
    XP"and select"Windows XP Service Pack 3 "

    5 steps to help protect your new computer before going online
    [installation clean = new computer]
    http://www.Microsoft.com/protect/computer/advanced/XPPC.mspx

    Measures to help prevent spyware
    http://www.Microsoft.com/protect/computer/spyware/prevent.mspx

    How TO get Windows XP Gold fully patched: http://groups.Google.com/group/Microsoft.public.windowsupdate/MSG/3f5afa8ed33e121c

    1. download & save the WinXP SP2 installer on your desktop:
    http://www.Microsoft.com/downloads/details.aspx?FamilyID=049c9dbe-3b8...

    [Yes, you can jump SP1]

    1B. download & save the installer for WinXP SP3 on your desktop:
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=5b33b5a8-5E7...

    2. read & take into account:
    http://msmvps.com/blogs/harrywaldron/archive/2008/05/08/Windows-XP-SP...

    3. administrator, if necessary, double-click the saved file to install Windows XP * SP2 *.  Follow the prompts. Be patient and restart twice when the installation ends.

    3B. logged on as administrator, if necessary, double-click the saved file to install WinXP SP3.  Follow the prompts. Be patient and restart twice when the installation ends.

    4. make the resolution method 2 here (believe me):
    http://support.Microsoft.com/kb/943144

    5. go to http://windowsupdate.microsoft.com . Install all required software, and then click CONTINUE. Select CUSTOM and scan | Install the critical updates of security offered.  Still, follow all the instructions.

    [I do NOT recommend install IE7 through Windows Update.]

    6. make sure that automatic updates is enabled; FC.
    http://support.Microsoft.com/kb/306525

    References with dubbing:

    Free unlimited installation and compatibility support is available for Windows XP, but only for the Service Pack 3 (SP3), until April 14-09. Chat and e-mail support is available only in the United States and the Canada.  Reach
    http://support.Microsoft.com/OAS/default.aspx?gprid=1173 | Select "Windows".
    XP"and select"Windows XP Service Pack 3 "

    Protect your PC!
    http://www.Microsoft.com/athome/security/computer/default.mspx

    Learn how to protect your PC by taking the three simple steps
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=3AD23728-497...

  • unknown problem using WMP 12 no sound when played the song in the folder but has sound when he played in the player

    Hi all

    I have a weird problem using WMP (Windows Media Player v12).  When I double-click a song of in my library, the trail seems to play, but didn't have all the sounds.

    However, if I hover over the same path and then click Preview, the pop-up, the track plays with sound.

    When the track (s) do not play, all indications show the way to correctly play through of progress ' Now Playing ' screen, but no sound.

    In the past, when I clicked on any MP3 file, he would play using WMP.  Now, when I click on an MP3 file, it brings just "Now Playing" and looks LIKE he plays, but no sound.

    I have looked & looked for clues as to why it may be of WMP, but I can't understand the problem.  I also searched the Web for 'day' drivers in the Win System Manager, but Win says that pilots are "up to date".

    I have rebuilt the DB Library (twice) by removing the DB files in from WMP to a procedure in a WMP support forum. I also went to check the audio device in Device Mgr Win (mine is one on one). Everything seemed ok.  I also changed the devices to "Win by default" to what I think my onboard audio device is called.  I thought that that can do, but it's not.

    I was struggling with this since the day of the year.  Please help me solve this problem!

    Here is a link to my system features:

    http://Speccy.Piriform.com/results/0JAQshtlODwFxgwHeGb4rfq

    Hi, Pie,

    Welcome to the Microsoft community.

    Appreciate your efforts to try to resolve the problem that you have set so far. I guess that is not a problem with the driver that ultimately, the songs are playable using the media player. It could be a corrupted in Windows Media Player framework that is causing the problem. Let's run the Windows Media Player troubleshooting utility that resets all parameters to the player. Check out the link to do so:

    http://Windows.Microsoft.com/en-za/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Please let us know the results.

  • I am trying to add itunes to an old computer for my kids. It has the windows xp operating system. problem of Setup Windows how can I solve the problem?

    I am trying to add itunes to an old computer for my kids. It has the windows xp operating system.  When I try to install itunes, I get an error message that says: I'm having problems with my windows installer.  I don't have an existing copy of itunes on the computer that would be a new installation.   How can I solve the problem?  I have a new computer with windows 7 and had no problem with installation on it.

    If you can not receive answers that will solve your problem, I would suggest that repost you to...

    Cummunities to Support Apple - itunes for Windows:

    https://discussions.Apple.com/community/iTunes/itunes_for_windows

  • Satellite L500/01F and Win7 - can't get the working FN keys

    I have a Satellite L500/01F and performed a clean installation of windows 7.
    All right, except that I can't get the FN keys work.

    Is there a certain driver I can download for this problem? Thank you

    Have you installed package of added value for Win7 offered for your laptop model?

  • Photoshop 2015.5 can not export the work plan in PNG transparent

    should I upgrade Photoshop to the latest version (2015.5) and now I can not export in PNG transparent work plans and that sucks A * big time
    Anywho whenever I export in PNG or PNG8 with transparrensy, it receives a white background and space color Medallion to the index as if it was a GIF.

    All the solutions or anyone who has a script that will make the transparent PNG out of work plans?

    Are you sure that you correctly configure the work plan? The 2015.5 version to now set the background color of the artboard that is different from before

  • I can download on the work computer, but not on my homePC, it never ends?

    I bought the cloud for a year and the thought of work the same programs at work and the House of love.

    But I can't download the programs at home. The download session is never ending and theres no error message.

    I have shut down the computer at work, my firewall but stil, no luck

    What's wrong?

    WR

    Jonne

    Hello

    Try this link: http://helpx.adobe.com/creative-suite/kb/troubleshoot-creative-cloud-installation-download .html

    And let us know if you need additional help :)

    Concerning

    Sarika Behal

  • Volume control does not appear on the screen when I try to activate it. This has never been a problem until now. How can I get this working again?

    The volume control is located at the bottom right of my sidebar it me has not given any problems so far. Now, he just will not appear on the screen when I try to call. This has never been a problem before. I really did something to screw things up (again!) today. This is the first time I had this problem.

    Next time please indicate what opersting system you first use before describe you your problem.

    You can start by doing a system restore. Choose a date on which your Volume icon in the taskbar.
    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    If for some reason it does not restore the Volume icon, then...

    For Vista, use this tutorial:

    http://www.Vistax64.com/tutorials/106787-notification-area-system-icons.html

    You can try a method first. If the Volume box is grayed out (is usually), go to method 3.

    2. for the Volume icon

    To activate the Volume - icon Enable_Volume.reg< click="" to="">
    Then, follow the instructions from #5 to #9.
    Make sure that you restart the computer to complete the process.

    For Windows 7, use this tutorial:
    http://www.SevenForums.com/tutorials/19085-system-icons-enable-disable.html

    Go directly to the Option two

    9. to activate the Volume icon

    (A) click on the download button below to download the file below.

    Enable_Volume_Notification_Icon.reg

    then follow the instructions from #11 to #15.

    Make sure that you restart the computer to complete the process.

  • When you use multiple process files can I rename the Image Source

    Hi Forum

    I would like to rename all my Images (about 1800) for a standard naming such as IMAGE_1 system, etc. IMAGE_2. It's because they had the file ID different a lot over the years and this has become messy. I tried the process of multiple Images in the editor of 13 elements, but it doesn't seem to work for the following reasons:

    (1) if I choose the source folder to update the button rename is off? So it appears this function is disabled when it is used against the same folder of image location.

    (2) if I chose a new location, then I lose my whole face of people marking information.

    Any ideas how to solve this problem?

    Concerning

    David

    This is a job for the Organizer.

    Select your files (if they are in an album, you can sort them as you want).
    While they are highlighted, use the menu file/rename (shortcut Ctrl Shift N) and enter the starting string.

    Edit:

    I forgot to say that the change of name of the Organizer will keep all your organizing info, like tags etc.

  • Where can I download Firefox 3.5 to use to open a Web site for the work?

    I work for the State of Florida and we use the Web site, peoplefirst.com, to enter our hours twice a month. The site is only supported by Firefox 3.5 or less. Where can I get a downloadable version of Firefox 3.5 or less to use? I have Firefox 5.0.1 and it is not compatible. Thank you!!

    I just suggest here otherwise good luck.
    http://www.Mozilla.com/en-us/Firefox/all-older.html

  • problem using ActiveX to Excel app to determine the numbers of rows/columns

    Hello

    I would like to develop an app, that question is not total. of rows and columns of a data sheet excel and read the data in the same. I made use of a few vi, I found on the forum, but having runing bad to them,.

    can anyone please suggest me what I do wrong? I've never used before activex...

    Hello

    I would have used the free Excel Toolbox. See some examples with it here, here and here.

    The library contains functions of Excel ActiveX premade. This function here would have helped you a lot:

Maybe you are looking for

  • Memory problem while improving my Satellite A100-181

    Hi all I want to upgrade RAM on my Satellite A100-181, 512 MB is a bit limited...I ordered a 1 GB dimm noname a month before, put in it, with the 512dimm. As a result, we have only 1 GB recognized, and the laptop does not start if the 512 module is n

  • the 3rd gen processor update

    Its been a few years. I have dv7-6163us - here are the specs. CLICK HERE Here are my questions- 1. I can go to 16 g of RAM... Awesome. You just replace the two stages under the hood planks that are currently 2g and 4g with two 8 GB more right? Crucia

  • Windows Server 2003 detects no audio device

    When I start Windows Server 2003, I hear no sound start. I hear no sound XP, nor do I hear the sound of UK. Then, I discovered that volume does not work as well. When I go to start > Control Panel > sounds and Audio devices, it says "no Audio device"

  • Error BIOME_1

    Im getting the error: BIOME-1 (selection of memory), system_service_exception.  It does not let me start.  It gives me this error: STOP: 0x0000007E

  • Adobe Presenter - fatal error

    I meet a 'Fatal Error' when you try to download Adobe Presenter on my MacBook Air (2015, 4 GB 1600 MHz DDR3 1.6 GHz Intel Core i5). Specifically, the error reads "Akamai Download Manager has encountered a fatal error: access denied". There is an opti