Path: csiph.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.os.linux.misc Subject: Re: Something Odd - "top" Delivers Nada When Run By Crontab Date: 11 Jul 2026 06:40:50 GMT Lines: 12 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net uwdaHxxnWqA/RS5vMhSvdgdX1aiPfMx55vY0Rrn85vv5p7Yiee Cancel-Lock: sha1:CrzF6ni3RixuYlKVQAvdyLDxqNM= sha256:mAygO+nvaVXyugcVtLXr4JOdH/J761LK4YLZZ2phV0w= User-Agent: Pan/0.165 (Kostiantynivka) Xref: csiph.com comp.os.linux.misc:88842 On Fri, 10 Jul 2026 23:57:54 -0400, c186282 wrote: > Wrote a short Python script that uses os.system() to run 'top' ... > redirecting the output to a file. We then clean-up the weird chars in > the file and append it to an ongoing log file. I think we've been here before... https://docs.python.org/3/library/subprocess.html Yes, it's one of those hateful, newfangled functions that might work for you.