Task Scheduler task shows as completed successfully, but nothing happened

I have some .bat files I created added to my task scheduler on our server at the fire every day from 05:00.  Tasks run a series of SQL commands and a find and replace the application third for updating a MySQL database that we use for a web application.  SQL event on demand are not an option for us.

When I run the task manually it works fine (I'm an administrator has full permissions), either by double-clicking the .bat file, either by selecting the task in the Task Scheduler task by clicking on 'run '.

Tasks have been reportedly shot every day for more than a week and all history journals say the operation completed successfully, but when I check the MySQL database, that nothing has actually happened.

To add to the confusion, what is happening on 2 3 .bat files that I wrote.  One works perfectly, not.

I have the defined task to "Run if the user is logged in or not", and "Run with the highest privileges" and our server, Windows 2012 R2.

My apologies if I'm missing something obvious, I am a JavaScript/PHP web developer, who was lifted in the server environment and, although most of this is logical on a base level for me, a lot of nuances are lost.

Thanks in advance for any help.

Hello

Please post your request in the forum for better support.

TechNet

Thank you.

Tags: Windows

Similar Questions

  • Windows 7 and I have a batch file to copy files from 1 computer to another. It works fine alone, but when I put it to run in the Task Scheduler it shows it ends successfully, but nothing is happening

    I am running Windows 7 and I have a batch file to copy files from 1 computer to another.  It works fine alone, but when I put it to run in the Task Scheduler it shows it ends successfully, but nothing is happening.  None of the files are copied, and the control box does not appear.  Any ideas?

    Run a batch file in Task Scheduler

    Hello ITGIRL17,

    Thanks for posting on the Microsoft answers Forum.

    Configure your task under your administrator account.
    Then go to the folder with the batch file and ADD on control for the folder administrator permissions and each of the files in batches.
    If the batch files write data, then the target for the task should ALSO have all explicit permissions.
    Now try to run the Task Scheduler task.

    Also check the information from the following link and look specifically at Brian Vandemark Sommaire steps on 2 September.
    http://social.technet.Microsoft.com/forums/en/winservermanager/thread/d47d116e-10b9-44f0-9a30-7406c86c2fbe

    I hope that this information will help resolve your batch file does not problem.

    Sincerely, Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • A scheduled task shows she completed successfully, but it really didn't. How can I fix?

    The task that I put in place runs the following image:

    The task runs a script file SQL for the database on drive E:\ which is an external drive for backup.

    When E:\ is not present, of course, the task is not ended, but the Scheduler of tasks that are still actions successfully completed.

    I'm assuming that the Task Scheduler is just by saying "I've been able to run the script with the specified program file, then it has succeeded," but this is really not what I'm after. I need to know if the tasks in the script that is running the Scheduler of tasks actually performed.

    Is there something I can do to report if the task succeeded or not, so that the Task Scheduler shows correctly?

    I know that this is possible if you use a batch file that uses the exit codes (I'm sure that other types of scripts have end codes, but I'm not familiar with most of the other types of scripts).

    You can check with the developers/scripting Microsoft Developer Network forums.  These MSDN forums are intended more to this, while this community is more concentrated consumer.

    http://msdn.Microsoft.com/forums

  • DBMS_SCHEDULER RUN_JOB successful but nothing happens

    Hi all

    I'm working on a project where I have to create a URL and open it.

    The creation of the URL works fine.

    To open it in a browser, I tried to create one job in the dbms_scheduler:

    Begin

    () Dbms_Scheduler.Create_Job

    Job_Name = > 'IE,'

    Job_Action = > ' / bin/ksh.

    Number_Of_Arguments = > 2,

    activated = > false,

    Job_Type = > 'executable');

    Dbms_Scheduler.Set_Job_Argument_Value ("IE", 1, "#!") ("/ Bin/ksh");

    Dbms_Scheduler.Set_Job_Argument_Value ('IE', 2, 'elinks 'URL' ');

    End;

    It works very well, too.

    But when I want to now the task code succeeds but nothing happens.

    Orders should open a browser with the given URL. If it works fine, an E-mail is sent to a specific address.

    The URL opens the BirtMailer, a tool to send reports as attachments.

    If I run the command on the shell, everything works fine and the e-mail message is sent. But with the Scheduler, nothing happens.

    Any suggestion or advice will be appreciated.

    Thank you all.

    for example:

    #! / bin/bash

    Export HOME =...

    ELinks $*.

  • When I print to my HP Laserjet 4000, the display shows the data received, but nothing happens

    I have an old printer, HP Laserjet 4000 and a new computer with Windows 7. Printer is connected locally.  When I try to print to it, the screen reads the received data, but nothing happens. Help?

    Hello

    Try the methods provided and check whether the problem is resolved.
    Method 1:
    Check out the link and follow the steps.
    Method 2:
    See the link, run the Fixit and check if the problem is resolved.

    Diagnose and automatically fix problems printing and printer
    http://support.Microsoft.com/mats/printing_problems/
    Method 3:
    Check the link and try the steps of troubleshooting described in the article.
  • ARHPMERGE party merger completes successfully, but the status is still pending.

    Hello

    11.5.2.10

    ARHPMERGE party merger completes successfully, but the status is still pending.

    Pointers.

    Thanks, Jeet

    PL don't post duplicates - advantage ARHPMERGE merger complete however pending status

  • my iphone 5 c opens more after that I was invited to be updated with itunes. now, the display shows only itunes usb cable and logo. read some tips here, but nothing happened. any help will be much appreciated.

    My iPhone 5 c opens more after that I was invited to be updated with iTunes. now the display shows iTunes logo and the USB cable. I have read and applied some tips here, but nothing happened. Any help will be much appreciated. Thank you.

    https://discussions.Apple.com/message/30014877#30014877http ://

    Read the post from sierrawren . It helped me to fix my phone. Now it works perfectly fine. Hope it can help others too.

  • Every time I open Firefox I get the meesage from follopwing: it's recommended storngly you appl this update as soon as possible. When I have TRD to di, show he's trying to connect to the update server but nothing happens

    Everytime I open Firefox I get the following message: it is strongly recommended that you apply this update as soon as possible. When I try to do, is to show that it is trying to connect to the update server but nothing happens

    You are welcome

  • I went through all the steps to download the trial version of Adobe Photoshop elements 13. It is said download completed, but nothing happened then prompting to launch the program. I checked the finder (MAC OS) and could not find. Don't have Adobe downloa

    I went through all the steps to download the trial version of Adobe Photoshop elements 13. It is said download completed, but nothing happened then prompting to launch the program. I checked the finder (MAC OS) and could not find. Don't have Adobe download wizard. How to open and run the program?

    Jediii please see Photoshop elements 13 full download. What to do next? where this topic was just discussed.

  • LightBeam shows as open and I see the little icon in the bar of the Addon, but nothing happens

    I am running Mac OS 24.0 FF 10.8.5. By clicking on the icon has no effect. The Tools menu displays 'close Lightbeam', but nothing happens.

    Never mind. This add-on - it's not worth. Thanks to anyone who has put in tine trying to help.

  • System Restore runs but nothing happens, can not get my screen

    system restore

    Unknown system can take a while so be patient.  How do you know that nothing happens - he often paused during execution of the tasks and may display a complete task bar but still not be done with the task (what I find irritating, but it happens).  How long it lasts?  Why did you restore the system in the first place?

    Stop the system when restoring a restore can cause all kinds of problems - so it is best to not do so that there is no other choice (until it is an undeniable fact that it is at a standstill).  BTW, while the restoration of the system is running, you can not do something else - it essentially resumes the computer until it's over.

    Let's give it more time.  If it comes to that, you can always finish by pushing and by holding down the power button until the machine stops (a hard stop).  Then try to restart and hope that it works and that you won't encounter any problems.  If so, post back here describing problems (including the word EXACT text of any message) and we will see what to do next.  If everything goes well, there will be no problem, but I suspect it might.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • My laptop suddenly stopped opening my Hotmail emails. I can connect to Hotmail and records are regularly updated with new emails, but nothing happens when I try to read an email.

    My laptop suddenly stopped opening my Hotmail emails.  I can connect to Hotmail and records are regularly updated with new emails, but nothing happens when I try to read an email.  The cursor will just highlight the particular word on what it is and do nothing.  As far as I know, nothing else was done on my computer.  This could be the cause?

    original title: cannot open emails.

    Hello

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

     

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

     

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • Windows Media Player says it is retrieve information about the media and update of files but nothing happens

    Windows Media Player has ceased to apply Media Information changes for me to update the audio CD information.  When I click on 'Apply the changes to the media information' dialog box appears which says it's to retrieve information on the media and put files up-to-date but nothing happens... He remains at 0 percent.  Internet connection works fine. It worked a few days ago.

    Hi MartynBH,

    ·         Did you do changes on the computer before the show?

    Follow these methods.

    Method 1: Follow the steps in the article.

    Solve problems in Windows Media Player

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-in-Windows-Media-Player

    Method 2: Uninstall and reinstall Windows Media Player to windows features turn enable or disable. Follow these steps:

    (a) click Start, type turn on or off windows features in the search box start and press to enter.

    (b) scroll down and uncheck the media functions to uninstall.

    (c) restart the system.

    (step d) follow a).

    (e) scroll down and check the option multimedia features to install it.

    (f) restart the system.

    Turn on or off Windows features

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-Windows-features-on-or-off

  • I click on the Windows Explorer icon to access my files and libraries, but nothing happens.

    Hello

    I can't access my photos, videos, documents, etc. because I can't in my files anyway I have try. If I click on the icon in my taskbar Windows Explorer, it highlights as if it will open, but this just highlight fades and nothing happens as if I has not yet clicked (no error notice or anything).

    When this happened enough times, I tried entering my Start menu and search bar "search programs and files". He showed me the results of research (such as the names of files in the start menu), so I know everything is still, but nothing happens when I click on them.

    However, I can still download files online when a site gives me the ability to click a button in the Web site to do.

    All this happens on and outside, and I don't know what are the is or what causes that actually get better at random.

    Also: Something that occurs when Windows Explorer is working is that any attempt to open My Documents is blocking my computer. I can no longer access my documents unless I can search in the start menu (which, even once, does not always). I resorted to store my documents online because of this.

    If anyone can help me to solve these problems, I would be very happy! I need my cell phone all the time while I'm in College, and while I'm at home.

    -

    Annelise

    (1) run chkdsk as follows:

    A prompt by right clicking and select "Run as Administrator"
    and then at the command prompt, type: chkdsk /f r, then press the Enter key.

    If you are asked to plan the volume to check the next time that the system/PC reboots,
    Enter: y

    Now, restart the PC.

    If you know the manufacturing of your hard drive you can also download their diagnostic software.

    Another use: SpeedFan has an online health analysis function
    (SMART tab) for hard drives. It will show how your disks
    compared with other discs of the same brand and model.
    http://www.almico.com/SpeedFan.php

    Note: Unfortunately now includes a lot of bloat-ware, be very careful when installing remove bloat-ware.

    =====================================================================

    2) run the SFC/scannow command. This will check and repair if necessary all of the critical Windows system files.

    Click on start / all programs/accessories then
    Right-click on the command prompt option and select "Run as Administrator".
    (or "Safe Mode" open a command prompt)
    At the command prompt, enter: SFC/scannow

    Windows 7 - order SCANNOW SFC - System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    How to analyze the entries in log file generating the program Checker (SFC.exe) resources of Microsoft Windows in Windows Vista:
    http://support.Microsoft.com/kb/928228

    J W Stuart: http://www.pagestart.com

  • Recently restructured PC. Tried to import bookmarks HTML, but nothing happens. Tried other browsers, still does not work. How can I fix?

    Before reformat my PC, I exported all my favorites via the HTML file. I reformatted, installed Firefox, then attempted to import all my favorites. I go to the import function and choose the bookmarks HTML file and nothing happens at all. I tried to use other browsers for import, but nothing happens. I don't know how to solve this problem.

    I thought that maybe I could transfer the HTML file in a JSON file, but I couldn't find a way to do it, even after it is renamed file extensions. The HTML file may possibly be corrupt? I'm running out of ideas on how to do to import my favorites!

    I really need to solve this problem, please help!

    I managed to fix it.

    (1) I opened the HTML file with notepad.
    (2) I then went to file > save as >

      -Then changed the file type to, "All Types"
    

    (3) then in file name I named it Bookmarks.JSON

      -The HTML file now saved as a JSON backup and I was able to import it.
    

    However,.

    There is still no patch or reason to explain why the backup HTML does not. I strongly suggest you Firefox fix, as it was highly agitation.

Maybe you are looking for