如何停止该程序?
我的 auth.log 经常有类似如下的条目
Jan 2 03:15:01 lumi CRON[28939]: pam_unix(cron:session): session opened for user svn-autoreleasedeb by (uid=0)
Jan 2 03:15:01 lumi CRON[28939]: pam_unix(cron:session): session closed for user svn-autoreleasedeb
Jan 2 03:17:01 lumi CRON[28949]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 2 03:17:01 lumi CRON[28949]: pam_unix(cron:session): session closed for user root
Jan 2 03:20:01 lumi CRON[28955]: pam_unix(cron:session): session opened for user svn-autoreleasedeb by (uid=0)
Jan 2 03:20:01 lumi CRON[28955]: pam_unix(cron:session): session closed for user svn-autoreleasedeb
Jan 2 03:25:01 lumi CRON[29370]: pam_unix(cron:session): session opened for user svn-autoreleasedeb by (uid=0)
Jan 2 03:25:01 lumi CRON[29370]: pam_unix(cron:session): session closed for user svn-autoreleasedeb
Jan 2 03:30:01 lumi CRON[29467]: pam_unix(cron:session): session opened for user svn-autoreleasedeb by (uid=0)
Jan 2 03:30:01 lumi CRON[29467]: pam_unix(cron:session): session closed for user svn-autoreleasedeb
Jan 2 03:35:01 lumi CRON[29499]: pam_unix(cron:session): session opened for user svn-autoreleasedeb by (uid=0)
Jan 2 03:35:01 lumi CRON[29499]: pam_unix(cron:session): session closed for user svn-autoreleasedeb
答案1
这意味着为用户运行了一个 cronjob svn-autoreleasedeb
。您可以在以下位置搜索特定用户的 cronjobs
/etc/crontab
/etc/cron.d
- 并使用命令
crontab -u svn-autoreleasedeb -e
如果您确实想禁用 cronjob,只需#
在前面注释掉相应的行即可。
更多信息可以在 cron 和 crontab(5) 的手册页中找到
答案2
你的 cron 文件应该是“/etc/cron.d/svn-autoreleasedeb”。
也许你可以删除包svn-autoreleasedeb。