Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am using initlog tool in a cron file to write the output of ntpq -p command in syslog..
But initlog command has been deprecated in RHEL6.
Now, I want know the alternative of initlog command in RHEL6.
One possible solution from the comments is to use logger, possibly as such:
ntpq -p | logger
Required, but never shown