A stored procedure for generating details of the active SQL Server, scheduled tasks. The second stored procedure (optional)is used to call the main sp (using the scheduler?). The results are sent to a log file where the weekday number is used as a suffix for the file, to keep 7 days’ files before overwriting. Where I have backup servers, I also include a command to copy the output to the backup server.
For SQL Server 6.5
Author: Tony Jenkins
Download Script:
sp_SchedTasks.sql
Disclaimer: We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
“as -is”, without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose…
Disclaimer Continued
Back to Database Journal Home