简体   繁体   中英

Is it possible to stop Sitecore from performing a publish operation?

If I click "publish" on my entire content tree in the Sitecore Desktop, I will get the dialogue telling me how many items have been processed. Sometimes I know that this operation is going to take an extremely long time (eg an hour). There's no way to stop this process. Of course I can close the dialogue and continue using Sitecore, but the publish is still ongoing in the background. I cannot publish anything else until it has completed.

Recycling the app pool will kill the publish, but it is very disruptive to users working within Sitecore.

Is it possible to programatically, or otherwise, kill a publish operation without recycling the app pool?

You should take a look at the Advanced Publish Dialog module, it has the additional functionality you require. There is a video describing the features on the developers blog .

Recycle the application pool for the CMS on the server hosting the CMS.

This will kill the publish in the middle of whatever it was doing and force the CMS to restart.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM