Re: Pause time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



2010/4/19 cahit Eyigünlü <cahit.eyigunlu@xxxxxxxxx>:
> i want to pause my cent os time and date in a spesific date :D is it
> possible ?

You can set your clock back a minute every minute from cron using the
"date" command.  Try:

     date -s "now - 1 minute"

If that's not good enough, you can write a loop that resets your clock
back a second every second, again using the "date" command.

    while true
    do
           date -s "now - 1 second"
           sleep 1
    done


That should make time appear to stand still at the HH:MM:SS level.

Another possible method is to pause time itself.  However your
computer won't work any more, and will remain frozen without any
changes.

HTH,
Aleksey
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux