Hello Sitecore masters,
I have an issue with auto publish and I am not able to figure it out.
So I create some items in Sitecore with an external page and they should have a specific publish / unpublish date
So I have a publish / unpublish value, I have setup the Agent but the publish does not work and I don't know how to debug it. I check the logs and it says that items were skipped. I assume it's about my items
This how it looks in sitecore.config
<agent type="Sitecore.Tasks.PublishAgent" method="Run" interval="00:00:10">
<param desc="source database">master</param>
<param desc="target database">web</param>
<param desc="mode (full or smart or incremental)">incremental</param>
<param desc="languages">nb, en</param>
</agent>
I have also changed this:
<scheduling>
<!-- Time between checking for scheduled tasks waiting to execute -->
<frequency>00:00:10</frequency>
The funny / strange thing is that if I publish manually from sitecore, Unpublish will work. The publish doesn't.
Any hint will be appreciated.
You should use the Smart
publishing mode, instead of Incremental
. Incremental publishing publishes all the items in the publishing queue, which is the list of items known to have been modified.
Get more info about publishing types here