[Toolserver-l] Phoenix appending stdout to .out file

Mike.lifeguard mike.lifeguard at gmail.com
Wed Aug 5 04:12:33 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I have been using phoenix and cron to keep my IRC bots alive for some
time, however I never previously needed to see their output.

The bots are written in python, and use print(), which sends data to
stdout. When running in terminal or screen for example, this is the
screen. However, when using phoenix, the claim is that stdout is
redirected to be appended to a .out file. However, it seems not to
actually be doing that, and the outfile contains only phoenix's output
(useless, can we have a --quiet option?), and not the output of the bot
(useful).

I've also become a tad confused with the crontab entries. Currently,
they have >/dev/null so emails aren't sent ten thousand times a day or
whatever - would this also redirect the output of the actual python script?

An answer here, or on https://wiki.toolserver.org/view/Phoenix would be
most welcome.

Thanks,
- -Mike.lifeguard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkp5BqoACgkQst0AR/DaKHvaugCbBGpbsd4CPiuzFFpSjCF2d18O
iRgAoJY7jquVnY3AWigSZPPY2Sa5C0f+
=GASa
-----END PGP SIGNATURE-----



More information about the Toolserver-l mailing list