Ubuntu server kq ikut jam WIB (Jakarta), padahal si ubuntu server tinggal di Banjarmasin
Bismillah
q> Gogling ketemu sumber [1]
q> jalankan perintah ini pada ubuntu server untuk cek tanggal dan timezone
[sourcecode language="bash"]date[/sourcecode]
q> jalankan perintah ini, untuk cek timezone sekarang
[sourcecode language="bash"]more /etc/timezone[/sourcecode]
q> jalankan perintah ini, untuk memilih timezone sesuai tempat tinggal si ubuntu-server :)
[sourcecode language="bash"]sudo dpkg-reconfigure tzdata[/sourcecode]
q> Kemudian restart service cron, supaya si cron mengambil timezone yang terbaru
[sourcecode language="bash"]/etc/init.d/cron stop[/sourcecode]
[sourcecode language="bash"]/etc/init.d/cron start[/sourcecode]
q> Berhasil
sumber [1]:
http://www.christopherirish.com/2012/03/21/how-to-set-the-timezone-on-ubuntu-server/
Alhamdulillah
No comments:
Post a Comment