-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Your Name
committed
Dec 3, 2023
1 parent
7f65f2f
commit a80fb49
Showing
11 changed files
with
38 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="robots" content="noodp" /> | ||
<title>Linux 定时任务之 crontab - 小贝塔教程资源</title><meta name="Description" content="所行化坦途,所求皆如愿"><meta property="og:title" content="Linux 定时任务之 crontab" /> | ||
<meta property="og:description" content="Linux 定时任务之 crontab 1. crontab一般用法,crontab –e 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 # 重启cron服务 service cron restart #" /> | ||
<meta property="og:description" content="Linux 定时任务之 crontab 1. crontab一般用法,crontab –e crontab -e 第一次用会选择一下编辑器,vim还是nano自己看着来 1 2 3 4 5 6 7 8 9 10 11 12" /> | ||
<meta property="og:type" content="article" /> | ||
<meta property="og:url" content="https://example.com/001_crontab/" /><meta property="og:image" content="https://example.com/logo.png"/><meta property="article:section" content="posts" /> | ||
<meta property="article:published_time" content="2023-11-30T15:44:18+08:00" /> | ||
|
@@ -15,7 +15,7 @@ | |
<meta name="twitter:image" content="https://example.com/logo.png"/> | ||
|
||
<meta name="twitter:title" content="Linux 定时任务之 crontab"/> | ||
<meta name="twitter:description" content="Linux 定时任务之 crontab 1. crontab一般用法,crontab –e 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 # 重启cron服务 service cron restart #"/> | ||
<meta name="twitter:description" content="Linux 定时任务之 crontab 1. crontab一般用法,crontab –e crontab -e 第一次用会选择一下编辑器,vim还是nano自己看着来 1 2 3 4 5 6 7 8 9 10 11 12"/> | ||
<meta name="application-name" content="小贝塔教程资源"> | ||
<meta name="apple-mobile-web-app-title" content="小贝塔教程资源"><meta name="theme-color" content="#ffffff"><meta name="msapplication-TileColor" content="#da532c"><link rel="canonical" href="https://example.com/001_crontab/" /><link rel="stylesheet" href="/css/style.min.css"><link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'"> | ||
<noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css"></noscript><link rel="preload" href="https://cdn.jsdelivr.net/npm/[email protected]/animate.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'"> | ||
|
@@ -28,7 +28,7 @@ | |
"mainEntityOfPage": { | ||
"@type": "WebPage", | ||
"@id": "https:\/\/example.com\/001_crontab\/" | ||
},"image": ["https:\/\/example.com\/images\/Apple-Devices-Preview.png"],"genre": "posts","keywords": "Linux, crontab, 系统","wordcount": 852 , | ||
},"image": ["https:\/\/example.com\/images\/Apple-Devices-Preview.png"],"genre": "posts","keywords": "Linux, crontab, 系统","wordcount": 881 , | ||
"url": "https:\/\/example.com\/001_crontab\/","datePublished": "2023-11-30T15:44:18+08:00","dateModified": "2023-11-30T15:44:18+08:00","publisher": { | ||
"@type": "Organization", | ||
"name": "xxxx","logo": "https:\/\/example.com\/images\/avatar.png"},"author": { | ||
|
@@ -102,7 +102,7 @@ <h2 class="toc-title">目录</h2> | |
<div class="toc-content" id="toc-content-auto"></div> | ||
</div><article class="page single"><h1 class="single-title animate__animated animate__flipInX">Linux 定时任务之 crontab</h1><div class="post-meta"> | ||
<div class="post-meta-line"><span class="post-author"><a href="https://blog.xbta.tk" title="Author" target="_blank" rel="noopener noreffer author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>小贝塔</a></span> <span class="post-category">收录于 <a href="/categories/linux/"><i class="far fa-folder fa-fw" aria-hidden="true"></i>Linux</a></span></div> | ||
<div class="post-meta-line"><i class="far fa-calendar-alt fa-fw" aria-hidden="true"></i> <time datetime="2023-11-30">2023-11-30</time> <i class="fas fa-pencil-alt fa-fw" aria-hidden="true"></i> 约 852 字 | ||
<div class="post-meta-line"><i class="far fa-calendar-alt fa-fw" aria-hidden="true"></i> <time datetime="2023-11-30">2023-11-30</time> <i class="fas fa-pencil-alt fa-fw" aria-hidden="true"></i> 约 881 字 | ||
<i class="far fa-clock fa-fw" aria-hidden="true"></i> 预计阅读 2 分钟 <span id="/001_crontab/" class="leancloud_visitors" data-flag-title="Linux 定时任务之 crontab"> | ||
<i class="far fa-eye fa-fw" aria-hidden="true"></i> <span class=leancloud-visitors-count></span> 次阅读 | ||
</span> </div> | ||
|
@@ -120,6 +120,9 @@ <h2 class="toc-title">目录</h2> | |
</nav></div> | ||
</div><div class="content" id="content"><h1 id="linux-定时任务之-crontab"><strong>Linux</strong> 定时任务之 <strong>crontab</strong></h1> | ||
<h2 id="1-crontab一般用法crontab-e">1. <code>crontab</code>一般用法,<code>crontab –e</code></h2> | ||
<ul> | ||
<li><code>crontab -e</code> 第一次用会选择一下编辑器,<code>vim</code>还是<code>nano</code>自己看着来</li> | ||
</ul> | ||
<div class="highlight"><div class="chroma"> | ||
<table class="lntable"><tr><td class="lntd"> | ||
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1 | ||
|
@@ -257,6 +260,7 @@ <h2 id="2-crontab高级用法crontab-配置文件">2. <code>crontab</code>高级 | |
</ul> | ||
</li> | ||
</ul> | ||
<img src="./assets/crontab_cheatsheet.png" alt="crontab_cheatsheet" style="zoom:50%;" /> | ||
<hr> | ||
<h2 id="3-一些坑">3. 一些坑</h2> | ||
<ol> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,7 +99,7 @@ | |
title="logo.png" /></a></div><h1 class="home-title">小贝塔教程资源</h1><div class="home-subtitle"><div id="id-3" class="typeit"></div></div><div class="links"><a href="https://github.com/rentianyu" title="GitHub" target="_blank" rel="noopener noreffer me"><i class="fab fa-github fa-fw" aria-hidden="true"></i></a><a href="https://space.bilibili.com/192194108" title="bilibili" target="_blank" rel="noopener noreffer me"><i data-svg-src="https://cdn.jsdelivr.net/npm/[email protected]/icons/bilibili.svg" aria-hidden="true"></i></a><a href="mailto:[email protected]" title="Email" rel="me"><i class="far fa-envelope fa-fw" aria-hidden="true"></i></a><a href="/index.xml" title="RSS" target="_blank" rel="noopener noreffer me"><i class="fas fa-rss fa-fw" aria-hidden="true"></i></a></div></div> | ||
<article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline"> | ||
<a href="/001_crontab/">Linux 定时任务之 crontab</a> | ||
</h1><div class="post-meta"><span class="post-author"><a href="https://blog.xbta.tk" title="Author" target="_blank" rel="noopener noreffer author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>小贝塔</a></span> <span class="post-publish">发布于 <time datetime="2023-11-30">2023-11-30</time></span> <span class="post-category">收录于 <a href="/categories/linux/"><i class="far fa-folder fa-fw" aria-hidden="true"></i>Linux</a></span></div><div class="content">Linux 定时任务之 crontab 1. crontab一般用法,crontab –e 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 # 重启cron服务 service cron restart #</div><div class="post-footer"> | ||
</h1><div class="post-meta"><span class="post-author"><a href="https://blog.xbta.tk" title="Author" target="_blank" rel="noopener noreffer author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>小贝塔</a></span> <span class="post-publish">发布于 <time datetime="2023-11-30">2023-11-30</time></span> <span class="post-category">收录于 <a href="/categories/linux/"><i class="far fa-folder fa-fw" aria-hidden="true"></i>Linux</a></span></div><div class="content">Linux 定时任务之 crontab 1. crontab一般用法,crontab –e crontab -e 第一次用会选择一下编辑器,vim还是nano自己看着来 1 2 3 4 5 6 7 8 9 10 11 12</div><div class="post-footer"> | ||
<a href="/001_crontab/">阅读全文</a><div class="post-tags"> | ||
<i class="fas fa-tags fa-fw" aria-hidden="true"></i> <a href="/tags/linux/">Linux</a>, <a href="/tags/crontab/">crontab</a>, <a href="/tags/%E7%B3%BB%E7%BB%9F/">系统</a></div></div> | ||
</article></div></div> | ||
|
Oops, something went wrong.
a80fb49
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
xiaobeita – ./
xiaobeita-git-master-xiaobeita.vercel.app
xiaobeita.vercel.app
xiaobeita-xiaobeita.vercel.app