【发布时间】:2014-11-10 16:06:18
【问题描述】:
我在网站上有文件读取权限;
是否有任何基于 linux 系统的文件(不是目录列表的文件夹)上面有 cronjob 列表?
我搜索找到/etc/crontab,但是这里没有任何命令。
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
详情见man 5 crontab
Example of job definition:
.---------------- minute (0 - 59)
| .------------- hour (0 - 23)
| | .---------- day of month (1 - 31)
| | | .------- month (1 - 12) OR jan,feb,mar,apr ...
| | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
| | | | |
* * * * * user-name command to be executed
cronjob 命令文件有什么替代方法吗?
(或者/etc/crontab 不是正确的文件?)
【问题讨论】:
-
鉴于您标记了“cpanel”,这个链接也很有趣:webhostingtalk.com/showthread.php?t=885195
-
谢谢,我会检查一下 Niels Keurentjes
标签: linux cron crontab cpanel cron-task