[#BloombergLP-ball-FileObserver-rotateOnTimeInterval-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FileObserver.adoc[FileObserver]::rotateOnTimeInterval
:relfileprefix: ../../../
:mrdocs:

Configure periodic log rotation with the specified `interval` and `startTime`&period;

== Synopsis

Declared in `&lt;ball&lowbar;fileobserver&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
rotateOnTimeInterval(
    xref:BloombergLP/bdlt/DatetimeInterval.adoc[bdlt::DatetimeInterval] const& interval,
    xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& startTime);
----


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