Did you know that the default in Linux every day about four o'clock in the morning to run various business objectives? For example cleaning of temporary directories, log files, compression, etc. Now imagine that the time on the server is configured correctly and that all of these tasks to run in peak hour traffic to your site.
Correctly set the date and time needed to perform the work, the scheduler tasks. In addition, they are written in all the main system log files and log-files web server.
Type the command date, to see the current date and time. If you want to change them, use the following format commands:
date MMDDhhmmCCYY.ss
MM - month, DD - day of the month, hh - hours, mm - minutes, CCYY - 4 digit year, ss - seconds
For example:
date 100615352009.30
This command will set the current date and time on October 06, 2009, 15:35:30.
Please note: the date and time can change only the root-user.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment