.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "SNTPC" 1 "2022-01-28" "20181113_1ca1d00" "SlackBuilds.org" .SH NAME sntpc \- Network Time Protocol client .\" RST source for sntpc(8) man page. Convert with: . .\" rst2man.py sntpc.rst > sntpc.8 . .\" rst2man.py comes from the SBo development/docutils package. . .SH SYNOPSIS .sp sntpc [\fB\-bhnv\fP] [\fB\-p\fP \fIport\fP] [\fB\-s\fP \fIserver\fP] [\fB\-t\fP \fIthreshold\fP] .SH DESCRIPTION .sp \fBsntpc\fP queries an NTP server for the current time, and sets the local clock to the time reported by the server. It\(aqs a standalone binary, with no config file and no dependency on the \fIntp\fP package. .sp \fBsntpc\fP does not run as a daemon like \fBntpd\fP does. To keep the time in sync, you can run \fBsntpc\fP from root\(aqs \fBcrontab\fP(1) every 30 minutes (or however often it\(aqs necessary). .sp \fBsntpc\fP requires root access to actually set the local clock, although it can be run with \fB\-n\fP by non\-privileged users (e.g. with \fB\-v\fP to simply check the local time against the server\(aqs time). .SH OPTIONS .INDENT 0.0 .TP .B \-b Allow time shift backwards (default: forward only). .TP .B \-h Show built\-in help message. .TP .B \-n No set time (dry run). .TP .B \-p Set server port number (default: 123). .TP .B \-s Set server name or IPv4 address (default: pool.ntp.org). .TP .B \-t Set maximum time offset threshold (default: 300 seconds). This can be set to a ludicrously high value such as 40000000000 (over 1,000 years) to effectively disable the threshold. .TP .B \-v Verbose (default: silent) .UNINDENT .SH COPYRIGHT .sp See the file /usr/doc/sntpc\-20181113_1ca1d00/LICENSE.txt for license information. .SH AUTHORS .sp sntpc was written by Greg Hewgill. .sp This man page written for the SlackBuilds.org project by B. Watson, and is licensed under the WTFPL. .SH SEE ALSO .sp \fBntpd\fP(1) .sp \fI\%https://www.ntp.org\fP .sp The sntpc homepage: \fI\%https://github.com/ghewgill/sntpc\fP .\" Generated by docutils manpage writer. .