Hello everyone!
Still new to FreeBSD (and BSD), and liking it more and more.
Would like your feedback and ideas on a small issue.
My FreeBSD machines are running as VMs (Virtual Machines).
When I stop using them, I "halt" them.
Yet when I power them back up, their clock is off-time by x-amount.
I was wondering what would be the best way to get it updated?
I thought of creating a small script that does something like:
Yet then I thought maybe it would be easier/more convenient to do it on a cronjob that runs every 10 minutes.
What are your thoughts?
Would you do it another way?
If there a "sub-system" or "job" of BSD that solves this special situation I have running?
Thanks a ton.
I know that it can be done... I guess I'm looking for "best practice" or how would more knowledgeable people do it.
Have an awesome day!
Still new to FreeBSD (and BSD), and liking it more and more.
Would like your feedback and ideas on a small issue.
My FreeBSD machines are running as VMs (Virtual Machines).
When I stop using them, I "halt" them.
Yet when I power them back up, their clock is off-time by x-amount.
I was wondering what would be the best way to get it updated?
I thought of creating a small script that does something like:
Code:
ntpdate time.nist.gov
Yet then I thought maybe it would be easier/more convenient to do it on a cronjob that runs every 10 minutes.
What are your thoughts?
Would you do it another way?
If there a "sub-system" or "job" of BSD that solves this special situation I have running?
Thanks a ton.
I know that it can be done... I guess I'm looking for "best practice" or how would more knowledgeable people do it.
Have an awesome day!