我在busybox/config/miscutils/config.in中找到如下一段:
config BUSYBOX_CONFIG_CROND
bool "crond"
default y
select BUSYBOX_CONFIG_FEATURE_SUID
select BUSYBOX_CONFIG_FEATURE_SYSLOG
help
Crond is a background daemon that parses individual crontab
files and executes commands on behalf of the users in question.
This is a port of dcron from slackware. It uses files of the
format /var/spool/cron/crontabs/<username> files, for example:
$ cat /var/spool/cron/crontabs/root
# Run daily cron jobs at 4:40 every day:
40 4 * * * /etc/cron/daily > /dev/null 2>&1
Note that Busybox binary must be setuid root for this applet to
work properly.
这是否说明/var/spool/cron/crontabs才是唯一的有效路径呢?
那我的设备上没有这个路径,我自己建这个路径可行吗?
另外,我的设备上并不是/etc/crontab而是/etc/crontabs文件下有个root配置文件
还有,我并没有出现你上文第3点的正常启动信息,我输入crond&只会出来一个ID号,请问你的启动信息是通过什么操作得到的?