INF: Replication Tasks: Disabling Logreader and Distribution 'Autostart' Tasks

ID: Q227835


The information in this article applies to:


SUMMARY

By default SQL Server schedules the Logreader and Distribution tasks with an 'Autostart' frequency. SQL 6.5 Tasks can be enabled or disabled from the Task Scheduling Window. Tasks can also be modified using sp_addtask and sp_updatetask.


MORE INFORMATION

If a task scheduled for 'Autostart' is disabled, it appears to stop running for SQL 6.5. When the 'Running Tasks' window is refreshed the disabled 'Autostart' task does not appear. However, the disabled 'Autostart' task is still running. Running tasks can be verified with the following command:


SELECT * FROM sysprocesses 
If an 'Autostart' Task is re-enabled without stopping the original task, one of two situations can occur: These errors are avoided for SQL 6.5 by stopping the SQL Executive Service prior to modifying an 'Autostart' task. Then, start SQL Executive after the modification is complete.

Additional query words:


Keywords          : SSrvRep kbSQLServ650 
Version           : winnt:6.5
Platform          : winnt 
Issue type        : kbinfo 

Last Reviewed: May 28, 1999