1
c 2011-01-04 19:19:28 +08:00
查看crontab
|
2
ikbear OP root@li226-15:/var/log/nginx# for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done
no crontab for root no crontab for daemon no crontab for bin no crontab for sys no crontab for sync no crontab for games no crontab for man no crontab for lp no crontab for mail no crontab for news no crontab for uucp no crontab for proxy no crontab for www-data no crontab for backup no crontab for list no crontab for irc no crontab for gnats no crontab for nobody no crontab for libuuid no crontab for syslog no crontab for ntp no crontab for sshd no crontab for mysql no crontab for ikbear no crontab for smmta no crontab for smmsp no crontab for memcache 没有哇 |
3
ikbear OP root@li226-15:~# ./crontab.sh
mi h d m w user command */20 * * * * smmsp test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp 09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm 25 6 * * * root /etc/cron.daily/apt 25 6 * * * root /etc/cron.daily/bsdmainutils 25 6 * * * root /etc/cron.daily/dpkg 25 6 * * * root /etc/cron.daily/logrotate 25 6 * * * root /etc/cron.daily/man-db 25 6 * * * root /etc/cron.daily/ntp 25 6 * * * root /etc/cron.daily/popularity-contest 25 6 * * * root /etc/cron.daily/sendmail 25 6 * * * root /etc/cron.daily/standard 47 6 * * 7 root /etc/cron.weekly/man-db 找到一个程序,发现有这么些crontab |
4
ikbear OP 好了,问题解决了。
|