我的系统(Ubuntu 14.04)每天早上六点多都会自动执行updatedb.mlocate
我想把他改到晚上九点多执行
有试着修改/etc/crontab如下,却没有预期的效果,重开机也一样:
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts