Re: Basic python script problem

From: Lukas Jelinek - AIKEN <>
Date: Fri, 08 Jul 2011 16:29:21 +0200

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