[chrony-users] Modifying system date and syncing back

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


I am  using Fedora 20 and running version chrony-1.29.1-1.fc20.x86_64,  I run certain automation scripts which requires to change system date , run some script and then change the date back.  currently i am doing the following

chronyc -a offline
date -s '1 month'
<perform certain actions>
chronyc -a online
chronyc -a makestep

I would like to know if the above procedure is right, Any suggestions on what would be the best procedure to sync time in above scenario.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/