---
title: "lunix添加定时任务，清空临时文件"
author: "ljl961890233bear"
date: "2015-06-26T18:13:29Z"
tags: []
categories: ["操作系统"]
slug: "lunix"
draft: false
lastmod: "2015-06-26T18:13:29Z"
id: 2222414
url: "https://btbear.iteye.com/blog/2222414"
---

vim /etc/crontab

文件最后追加

// 每天23点 执行

\* 23 * * *  root rm -rf /tmp/test/*