日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

如何在Linux系统上自动执行任务

發布時間:2025/4/14 linux 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 如何在Linux系统上自动执行任务 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

How to automate tasks on a Linux system
如何在Linux系統上自動執行任務

https://www.linux.org/threads/how-to-automate-tasks-on-a-linux-system.4144/

You don't have to do that yourself!One of the main tasks of a system administrator is carrying out maintenance work on the server. Most of these tasks can be automated or programmed to be carried out at certain times without user intervention. In this section we'll talk about the two most widely used programs to carry out tasks in this way.
你不用自己動手做所有的事。系統管理員一個主要的任務就是維護服務器。大多數這些任務可以在確定的時間被自動或程序化執行,不需要用戶干預。本節我們討論以這種方式執行的兩個最廣泛使用的程序。

carry out
v:展開,行,執,施行,施

maintenance
n:維修,維護,維持,保持,保養,

intervention
n:干預,干涉,介入,

Use of 'at'
at的使用

'at' is a program to carry out commands that you intend to do only once. It's mostly used for scheduling specific jobs under specific circumstances. If you had to rotate your company's webserver logs every Saturday, 'at' is not the appropriate tool for the job. That would be done best with 'cron', about which we will talk about shortly. Let say your boss, the CTO, called for a meeting with you at 1:00. He wants to know how frequently your external consultants are logging into the network. This is a prime candidate for 'at'.
at是一個程序,用來執行你打算只運行一次的命令。大多數情況它用來在特定情形下調度指定作業。如果你必須在每周六輪換你公司的web服務器日志,at不適合于這項任務。這最好使用 'cron' ,我們將在稍后討論。比方說你的老板,CTO,要在1:00點和你開會。他想知道外部顧問登錄網絡的頻率。這種情況最適合使用at。

intend to
v:有心

circumstances
n:光景,情境,情形,場景

specific
a:特定,具體,

rotate
v:轉動,輪流,輪作,輪換,

let's say
比如說;說一說;

called for a meeting?
召集會議

consultant
n:顧問,醫生

prime candidate?
主要候選人

總結

以上是生活随笔為你收集整理的如何在Linux系统上自动执行任务的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。