Let me explain this a bit more. We were working on a solution that our
toolserver sends me an affordable quantity of e-mails that can be read. As
cron sends a mail if the timed command has some output, it is supposed to
bother me only in case of some problem if I redirect standard output to
/dev/null. But this is not the case:
binaris@tron:~/
pywikipedia$ python figyelmet.py >/dev/null
NOTE: You have new messages on wikipedia:hu
Sleeping for 8.1 seconds, 2013-02-17 12:23:47
Updating page [[KategĂłria:Figyelmet igĂŠnylĹ lapok 2013 februĂĄrjĂĄbĂłl]]
via API
Sleeping for 9.1 seconds, 2013-02-17 12:23:56
Updating page [[KategĂłria:Csonkok 2013 februĂĄrjĂĄbĂłl]] via API
Sleeping for 9.1 seconds, 2013-02-17 12:24:06
2013/2/17
SourceForge.net <noreply(a)sourceforge.net>
Bugs item #3605062, was opened at 2013-02-17 06:02
Message generated for change (Tracker Item Submitted) made by tgr_
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=360506…
Please note that this message will contain a full copy of the comment
thread,
including the initial issue submission, for this request,
not just the latest update.
Category: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tgr (tgr_)
Assigned to: Nobody/Anonymous (nobody)
Summary: pywikipediabot should use standard output
Initial Comment:
All pywikipedia messages go to standard error, making the proper running
of such bots from cron very difficult. Normal messages should go to
standard output, and only suprising messages (python errors, block
notifications, new message notifcations) should go to standard error.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=360506…
--
Bináris