In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Unit 3: system sub-delay and timing mechanism
1pat delay
At time
At > Action
At > ctrl+d
St >
At-l
Atrm task number
When the execution action has an output, the output is sent to the initiator of the task in the form of an email
Blacklist and whitelist of at users
/ etc/at.deny # exists by default and takes effect
/ etc/at.allow # does not exist by default. Once it exists (touch / etc/at.allow, in which you can write a user name to be set as a whitelist object, so that both root and whitelist users can use the at command), / etc/at.deny is invalid, and all users except root cannot use the at command.
2, system periodic tasks
Initiated by command:
Crontab-u username-e
Minute 0-59
Hour 0-23
Day of month 1-31
Month 1-12 (or names, see below)
Day of week 0-7 (0 or 7 is Sunday, or use names)
Mm hh dd MM ww
Mm/2, every two minutes.
What time to what time is hh2-hh3?
What time and what time is hh2,hh3
Crontab-l view
Crontab-u username-r cancels periodic tasks
Crontab-e edit file
Initiated by the way of the file
Vim / etc/cron.d/filename
Mm hh dd MM ww username action
Echo'mm hh dd MM username Action'> / etc/cron.d/filename
Black and white list
Vim / etc/cron.deny
Vim / etc/cron.allow
3. Management of temporary files in the system
Vim / usr/lib/tmpfiles.d/*.conf
Type filename perm user group time
A / mnt/westos 1777 root root 10s
Systemd-tmpfiles-create / usr/lib/tmpfiles.d
Systemd-tmpfiles-clean / usr/lib/tmpfiles.d
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.