homestead date / time is out

I ran into a weird bud earlier with homestead to do with timings. Apparently it’s ok for the vagrant / homestead box to be 20minutes out of time sync without it being an issue…

However I’m building an reverse auction site and timings are kind or key. So, if you notice the server time is off (try the following)

# inside your homestead machine, ie. $homestead ssh
date
# Should give something like this, Wed Feb 4 16:21:30 UTC 2015
# That will tell you the time. If it's off by
# if it's bad, to fix it.
exit
# wait
homestead halt
# wait
homestead up
# wait
date
# Should give something like this, Wed Feb 4 16:28:00 UTC 2015

view raw
gistfile1.sh
hosted with ❤ by GitHub

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s