Re: Email and failed scheduled jobs




I would encapsulate the task in a script. The scheduler would call the
script. The script would then run whatever task(s) needed to be done
and would then email if the task(s) failed.

As to exactly what the failed status would be based on is dependent
upon the task(s) being run.

This is all assuming:
1. The scheduler is solid and we don't have to worry about "did the
scheduled task start?"

2. Failures are rare. If there are a lot then a summarized log may be
better. That would require a more complicated design.


--
DennisThornton
------------------------------------------------------------------------
DennisThornton's Profile: http://forums.techarena.in/member.php?userid=24250
View this thread: http://forums.techarena.in/showthread.php?t=748316

http://forums.techarena.in

.



Relevant Pages

  • Re: Run VBScript as Task in 32 Bit Mode
    ... There's no task scheduler forum, so you'll end up circling back to here. ... What I suspect is that one of the things you do in your script makes it hang when running scheduled, which is why I was suggesting using the event log to capture information. ... I change the target to execute to a batch file called test.bat with only the "dir" command in it. ... Post the script as-is (munging database passwords of course) so we can take a look at possible issues. ...
    (microsoft.public.scripting.vbscript)
  • Re: Ntbackup seems not to start properly 30 to 50% of the time.
    ... Ntbackup seems not to start properly 30 to 50% of the time. ... I have a simple script running from scheduler. ... I built a small test server and using AT instead of Windows Scheduler, ... It would appear that a re-boot allows the backup to complete once. ...
    (microsoft.public.windows.server.general)
  • Re: FTP delete problem
    ... the task scheduler need permission to fire up the tasks. ... Whereas the ftp script - the logon user need to have permissions on the ftp. ... Dim strLocalFolderName, strFTPServerName, strLoginID ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: An executable file to run a VB script?
    ... Task Scheduler but I think I'll have to give up on it as network security ... will probably log me off after 10 minutes or so - the script I've written is ... do directly from VBA and what does Excel offer that you couldn't do entirely ... with a vbs script? ...
    (microsoft.public.excel.programming)
  • Re: Jcl
    ... I have a command and job scheduler that is available in a free version ... I have another non-free facility that functions as a on- ... demand script processor with the full scripting ability so that your job ...
    (bit.listserv.ibm-main)