Re: Basic python script problem

From: <>
Date: Fri, 8 Jul 2011 15:30:09 +0000

Weird python anomaly. She works fine now!
I 'had' a permission error, found it in the logs. Fixed it.
It was still failing
executed the script from a few 'different' directories and got a weird smtp error and then she just started working.
No clue
Sent via BlackBerry from T-Mobile

-----Original Message-----
From: Lukas Jelinek - AIKEN <>
Date: Fri, 08 Jul 2011 16:29:21
To: <>
Subject: Re: Basic python script problem

This should work and it works for me. Please provide the appropriate log
records (usually the lines from /var/log/cron.log with "incrond"; you
can use cat /var/log/cron.log | grep incrond to obtain them).


> I am trying to launch a python script from incrond.
> I put the following in the incron-config file
> /var/spool/asterisk/monitor/ IN_CREATE
> /home/prog-shit/ $#
> load the file and incrontab -e shows the config file registered.
> The script is supposed to email me when a file is created in the
> directory. The python script works perfectly when run manually.
> With incron configure, I 'touch /var/spool/asterisk/monitor/testfile1'
> and nothing happens, no error, no email, no impact, no idea.
> Suggestions?

Received on Tue Jun 05 2012 - 22:14:21 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 05 2012 - 22:14:21 CEST