Sdílet prostřednictvím


How to Stop a Direct Mailer Job

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

You can stop a Direct Mailer job while it is running. As soon as a Direct Mailer job has been stopped, the job status will switch to Inactive (1). After the job is restarted, the job will automatically restart where it left off.

If SQL Server becomes unavailable, Direct Mailer retries until a connection to the database is made, or until the configured number of retries elapses. If the configured number of retries elapses or a connection to the database is made, the status remains Running (3) because the status cannot be updated in SQL Server. When SQL Server becomes available again, you can restart the job, or restart Direct Mailer. For information about how to restart Direct Mailer, see How to Restart Direct Mailer.

To stop a Direct Mailer job

  1. At the command line, type the following command to display a list of all Direct Mailer jobs:

    DmlRun /list
    
  2. Note the jobID number of the Direct Mailer job you want to stop, and then type:

    DmlRun /term:<jobID number> 
    

    The Direct Mailer job is stopped.

See Also

Other Resources

Managing Direct Mailer