[#BloombergLP-balm-PublicationScheduler-scheduleCategory-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/PublicationScheduler.adoc[PublicationScheduler]::scheduleCategory :relfileprefix: ../../../ :mrdocs: Schedule the specified null‐terminated string `category` to be published periodically at the specified `interval` using the `MetricManager` supplied at construction. If `category` has _already_ been scheduled, change the scheduled period to `interval`; any previously scheduled publication of `category` is either canceled or completed (atomically) prior to rescheduling. If a category is rescheduled with the same `interval` as it is currently scheduled, this operation has no effect. The behavior is undefined unless `bsls::TimeInterval(0, 0) < interval`. == Synopsis Declared in `<balm_publicationscheduler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void scheduleCategory( char const* category, xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& interval); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#