跳至内容
sdvcrx's wiki
用户工具
登录
站点工具
搜索
工具
显示页面
过去修订
Export to Markdown
反向链接
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您的足迹:
linux:crontab
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== crontab ====== ===== Usage ===== Edit current user's crontab: crontab -e List user's crontab: crontab -l Rule, verify website: https://crontab.guru/ : 0 0 * * * "command" The first five fields shall be integer patterns that specify the following: - Minute [0,59] - Hour [0,23] - Day of the month [1,31] - Month of the year [1,12] - Day of the week ([0,6] with 0=Sunday) Symbol: ''*'' (asterisk) means every xxx, for example, ''* * * * *'' means every minutes; '','' (comma) means **or**, such as ''1,22'' means every 1/22 [classifier]; ''-'' (hyphen) means **to**, such as ''1-10'' means from 1 to 10 [classifier]; ''*/'' means **every x [classifier]**, ''*/3 [Hour field]'' means every 3 hours. ===== Tips ===== Remember set envirnment at the begining of the code. <code> SHELL=/bin/bash LANG=zh_CN.UTF-8 LC_ALL=zh_CN.UTF-8 0 * * * * /data/backup.sh </code>
linux/crontab.txt
· 最后更改: 2023/12/03 10:24 由
127.0.0.1
页面工具
显示页面
过去修订
反向链接
Export to Markdown
回到顶部