Recently, I encountered a very strange problem when using Tencent cloud server (CentOS 6.5 64bit system), that is, the cron service is completely normal, but the commands written in the crontab are not executed on time, so I opened the / var / log / cron log file to check the log, and found that all the executed commands are automatically followed by a small tail like ^ M, So Baidu “^ m” looked at what it was. Baidu learned that it was a combination of DOS coding and UNIX coding in the same file environment, resulting in line feed coding errors. Please refer to the solutionhttp://www.changwei.me/archiv…that will do
Recommended Today
Regular expression artifact, Baidu will no longer be used
When a project needs regular expressions, what would you do? Open Baidu and directly search for “regular expression of mobile phone number”, copy it to the IDE and run it to see if it does not meet your expectations? Is it often because you can’t find a suitable expression.Today we recommend an open source project […]
- Kubernetes core practice (III) — replicationcontroller
- Detailed introduction to Nacos interface
- Deploy LNMP environment and install Typecho blog
- Are you still using the bulky elk? Take a look at this lightweight log upstart
- HDC technology sub Forum: a comprehensive interpretation of the new generation UI framework of harmonyos
- Deep understanding of computer operating system
- Introduction to Linux basic commands III: file search and others
- [data recovery in North Asia] a data recovery case in which the RAID5 hard disk of IBM server is offline and the hot spare disk is not activated, resulting in raid crash
- How to debug SSH connection
- Root access method in docker container