20 Oct
2013
20 Oct
'13
11:28 p.m.
On Sun, Oct 20, 2013 at 09:01:33PM +0200, Rutger Bevaart wrote:
No errors are shown in the cron, it merely logs that it has run the command. With regards to the question of "why FreeBSD?", that's personal preference. I'm more comfortable troubleshooting on FreeBSD than on Linux…
Is there any way to make poller-wrapper.py produce more logging? (I admit not going through the code).
Maybe if you run it from cron like this?
*/5 * * * * root /path/to/wrapper > /tmp/poller-wrapper-output 2>&1
And than check if that file shows more information. Problems that I forsee are that the $PATH variable in context of cron is different compared to running it as root, or maybe it cannot find some required python modules.
Kind regards,
Job