[lug] cron won't quit a job
rm at mamma.varadinet.de
rm at mamma.varadinet.de
Fri Mar 23 15:44:39 MST 2001
On Fri, Mar 23, 2001 at 03:24:51PM -0700, John Starkey wrote:
> I just compiled/install sshd2 over an rpm that just wasn't working. I
> compiled a kernel simultaneously (using make .... && shutdown -r now)
> and went AFK for a few minutes. On reboot I found that a cron job,
> running as root, was restarting sshd2. I started it manually and
> everything is fine, I can login and out no problem.
>
> Is there a queue for cron jobs? Maybe the auto reboot cut something off?
> cron -e as root didn't show anything that isn't there intentionally.
crontab -e i assume ...
^^^
>
> Can anyone help? This is running every minute and sending notice of
> failure to root. Kinda got annoying about 120 minutes/warnings ago.
How is the exact wording of the error mail?
Is there a startup script in your init.d directory (/etc/init.d on
debian, /sbin/init.d on SuSE ..), and if so, what does it do? It might
be possible that the startup script for sshd2 tries to be super-safe
and tests whether the daemon really started. If not it might issue
an 'at' command that tries to restart the deamon. This is actually not
a bad idea if you rely on remote login ;-)
Ralf
> Thanks,
>
> John
>
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list