I already disabled the scheduled publish in sitecore using a patch file. the config is now:
<agent type="Sitecore.Tasks.PublishAgent" method="Run" interval="00:00:00" patch:source="PublishAgentInterval.config">
<param desc="source database">master</param>
<param desc="target database">web</param>
<param desc="mode (full or smart or incremental)" patch:source="PublishAgentInterval.config">smart</param>
<param desc="languages">en, da</param>
</agent>
However, when i save an item, it still publishes the item. any ideas why this is occuring? this is in production environment but in staging it doesn't happen. both have the same patch file with this value:
<?xml version="1.0"?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" xmlns:env="http://www.sitecore.net/xmlconfig/env/">
<sitecore>
<scheduling>
<agent type="Sitecore.Tasks.PublishAgent" method="Run" interval="00:00:00">
<patch:attribute name="interval" value="00:00:00"/>
<param desc="mode (full or smart or incremental)">smart</param>
</agent>
</scheduling>
</sitecore>
</configuration>
This is the config for item:saved event:
<event name="item:saved" patch:source="XSitecore.Audit.Config">
<handler type="Sitecore.Links.ItemEventHandler, Sitecore.Kernel" method="OnItemSaved"/>
<handler type="Sitecore.Globalization.ItemEventHandler, Sitecore.Kernel" method="OnItemSaved"/>
<handler type="Sitecore.Rules.ItemEventHandler, Sitecore.Kernel" method="OnItemSaved"/>
<handler type="Sitecore.Caching.Placeholders.PlaceholderCacheEventHandler, Sitecore.Kernel" method="UpdateCaches" resolve="true"/>
<handler type="Sitecore.Marketing.xMgmt.Definitions.ItemEventHandler, Sitecore.Marketing.xMgmt" method="OnItemSaved" patch:source="Sitecore.Marketing.config"/>
<handler type="Sitecore.Analytics.Data.ItemEventHandler, Sitecore.Analytics" method="OnItemSaved" patch:source="Sitecore.Analytics.Tracking.config"/>
<handler type="Sitecore.ContentTesting.Events.GenerateScreenshot, Sitecore.ContentTesting" method="OnItemSaved" patch:source="Sitecore.ContentTesting.PreemptiveScreenshot.config">
<excludeFields hint="list:ExcludeFieldFromComparison">
<created>__created</created>
<createdby>__created by</createdby>
<updated>__updated</updated>
<updatedby>__updated by</updatedby>
<revision>__revision</revision>
<sortorder>__sortorder</sortorder>
<validfrom>__valid from</validfrom>
<workflow>__workflow</workflow>
<workflowstate>__workflow state</workflowstate>
<lock>__lock</lock>
<pageleveltestsetdefinition>__Page Level Test Set Definition</pageleveltestsetdefinition>
</excludeFields>
</handler>
<handler type="Sitecore.ExperienceAnalytics.Client.Deployment.Events.SegmentDeployedEventHandler, Sitecore.ExperienceAnalytics.Client" method="OnItemSaved" patch:source="Sitecore.ExperienceAnalytics.Client.config">
<param type="Sitecore.ExperienceAnalytics.Client.Deployment.DeploySegmentDefinitionProcessor, Sitecore.ExperienceAnalytics.Client">
<param ref="experienceAnalytics/client/logger"/>
<param type="Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentStore, Sitecore.ExperienceAnalytics.Core"/>
</param>
</handler>
<handler type="XSitecore.Wcms.CwpBase.XSitecore.Wcms.Audit.ItemAudit.ItemOperations,XSitecore.Wcms" method="OnItemSaved" patch:source="XSitecore.Audit.Config"/>
</event>