Individually, the scripts run just fine in incrond but as soon as I try and create and event chain I.E. File goes in one place which trigger incrond to move the file to another directory. Then when the new file is created via incrond and the python script in the NEW directory, incrond is supposed to be triggered 'from there' and fire off script #2.
The failure occurs because incrond doesn't appear to be firing off the second script.
NOTE: I and 'touch' a new file in the location of the second script and incrond WILL work that way, but not as a chained event.
Any suggestions?
incrontab -e
/var/spool/asterisk/monitor/ IN_CLOSE_WRITE /home/prog-shit/watch-script2.py $#
/home/nycnightgirls.com/telecomm/7185695555.WAV/ IN_CLOSE_WRITE /home/prog-shit/sendmail-script.py $#
/home/nycnightgirls.com/telecomm/51668855555.WAV/ IN_CLOSE_WRITE /home/prog-shit/sendmail-script.py $#
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