[Gllug] Watching cron jobs during execution -- how

Alain Williams addw at phcomp.co.uk
Wed Sep 27 08:03:06 UTC 2006


On Wed, Sep 27, 2006 at 08:36:49AM +0100, Alan Peery wrote:
> I've just introduced a "yum -y upgrade" command on one of my machines to 
> keep the machine security patched while I travel.  The command has 
> kicked off nicely, but it appears to be processing more than I expected 
> after the yum I did yesterday.  So I'd like to look at the output of the 
> cron-launched yum.
> 
> I could wrap a script around it and get the access to the output that 
> way, but I am hoping for something more direct.

1) If it is generating output, cron will have redirected it to a file in /tmp
2) Presumably you know what processes are running (ps), then use
   strace to see what each is doing.

-- 
Alain Williams
Parliament Hill Computers Ltd.
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/

#include <std_disclaimer.h>
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list