none
Sceduled task stops working only fix is a reboot

    Question

  • We are using a 3rd party scheduler called adtempus to run a batch file, this will work fine for a couple of weeks and then the job will stop working and the only thing that 'fixes' it is a reboot of the machine.  We see the same behavior when using SQL Agent as well as windows task scheduler to run the batch file.   running the batch file manually always works, even after the scheduled job fails.  The scheduled jobs fail with the below error, its the same error no matter what scheduling tool we use, the batch file just launches an application and this is happening on multiple jobs.  I've seen a lot of posts relating to MSVCR90.dll as it relates to specific applications, but nothing this generic.  I've also read another post suggesting to add permissions through the directories all the way down to the batch file and that doesn't work either.

    Any thoughts would be much appreciated, thanks.

    Faulting application name: XXXXXXXXXXX.exe, version: 10.0.8.5, time stamp: 0x503ba572
    Faulting module name: MSVCR90.dll, version: 9.0.30729.4940, time stamp: 0x4ca2ef57
    Exception code: 0x40000015
    Fault offset: 0x0005beae
    Faulting process id: 0x4128
    Faulting application start time: 0x01cebba387a6ef9a
    Faulting application path: M:\XXXXXXX\XXXXXXXXX.exe
    Faulting module path: C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_50916076bcb9a742\MSVCR90.dll
    Report Id: c5ab8e3e-2796-11e3-a2d2-e4115bba64a4

    Friday, September 27, 2013 5:08 PM

Answers