• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Command DATE

Junior Spellweaver
Joined
Sep 28, 2020
Messages
143
Reaction score
27
Hello ALL. \o/
Is there any solution for not having to type the command date and always return the date 7 years ago? every time I start the server on a virtual machine? I use VBOX.
 
Joined
Jan 24, 2007
Messages
652
Reaction score
324
Hello ALL. \o/
Is there any solution for not having to type the command date and always return the date 7 years ago? every time I start the server on a virtual machine? I use VBOX.

put this in you start

Code:
timedatectl set-ntp 0date -s "$(date +'2016%m%d %H:%M')"

sample:
imagem_2020-10-20_134720 - Command DATE - RaGEZONE Forums

ps: change 2016 for 2013.

enjoy
 

Attachments

You must be registered for see attachments list
Back
Top