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

`rotateOnTimeInterval` overloads

== Synopses

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

Configure periodic log file rotation at the specified `interval`&period;


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

[.small]#xref:BloombergLP/ball/FileObserver/rotateOnTimeInterval-00.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:BloombergLP/ball/FileObserver/rotateOnTimeInterval-0f.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *interval*
| periodic interval between log file rotations
| *startTime*
| reference datetime for the rotation schedule
|===


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