[#BloombergLP-balm-PublicationScheduler-clearDefaultSchedule]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/PublicationScheduler.adoc[PublicationScheduler]::clearDefaultSchedule
:relfileprefix: ../../../
:mrdocs:

Cancel the default publication schedule, if one has been set&period;

== Synopsis

Declared in `&lt;balm&lowbar;publicationscheduler&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
clearDefaultSchedule();
----

== Description

If the default publication schedule has been set (using `setDefaultSchedule`), cancel that periodic default publication, and return 0&period; This method has no effect and will return a non&hyphen;zero value if a default publication schedule has not been set&period; Any scheduled publication is either canceled or completed before this method returns&period;

== Return Value

0 on success, or a non&hyphen;zero value if no default schedule is set


[.small]#Created with https://www.mrdocs.com[MrDocs]#
