Re: Problems

From: Beau Dwyer <quotidian_at_gmail.com>
Date: Tue, 4 Nov 2008 12:22:21 +1100

Anyone have any idea?

Regards,
Beau

On Fri, Oct 17, 2008 at 9:10 AM, Beau Dwyer <quotidian_at_gmail.com> wrote:

> Hi,
>
> Thanks for getting back to me, and for the work on such a useful tool.
> After some rethinking I got around my issue as I realised I needed entries
> for each dir so I just entered the directory name instead of calling the
> variable. I have however run into another issue.
>
> This is my current incrontab
>
> /RAID/TV/American\ Dad/Season\ 4 IN_CLOSE_WRITE,IN_MOVED_TO tvrenamer.pl
> --folder=/RAID/TV/American\ Dad/Season\ 4
> /RAID/TV/Californication/Season\ 2/ IN_CLOSE_WRITE,IN_MOVED_TO tvrenamer.pl
> --folder=/RAID/TV/Californication/Season\ 2/
> /RAID/TV/CSI\ NY/Season\ 5/ IN_CLOSE_WRITE,IN_MOVED_TO tvrenamer.pl
> --folder=/RAID/TV/CSI\ NY/Season\ 5/
> /RAID/TV/Desperate\ Housewives/Season\ 5/ IN_CLOSE_WRITE,IN_MOVED_TO
> tvrenamer.pl --folder=/RAID/TV/Desperate\ Housewives/Season\ 5/
> /RAID/TV/Dexter/Season\ 3/ IN_CLOSE_WRITE,IN_MOVED_TO tvrenamer.pl
> --folder=/RAID/TV/Dexter/Season\ 3/
> /RAID/TV/Entourage/Season\ 5/ IN_CLOSE_WRITE,IN_MOVED_TO tvrenamer.pl
> --folder=/RAID/TV/Entourage/Season\ 5/
> /RAID/TV/Family\ Guy/Season\ 7/ IN_CLOSE_WRITE,IN_MOVED_TO tvrenamer.pl
> --folder=/RAID/TV/Family\ Guy/Season\ 7/
> /RAID/TV/Fringe IN_CLOSE_WRITE,IN_MOVED_TO tvrenamer.pl
> --folder=/RAID/TV/Fringe
> /RAID/TV/Heroes/Season\ 3/ IN_CLOSE_WRITE,IN_MOVED_TO tvrenamer.pl
> --folder=/RAID/TV/Heroes/Season\ 3/
> /RAID/TV/House/Season\ 5/ IN_CLOSE_WRITE,IN_MOVED_TO tvrenamer.pl
> --folder=/RAID/TV/House/Season\ 5/
> /RAID/TV/My\ Name\ Is\ Earl/Season\ 4/ IN_CLOSE_WRITE,IN_MOVED_TO
> tvrenamer.pl --folder=/RAID/TV/My\ Name\ Is\ Earl/Season\ 4/
> /RAID/TV/Numb3rs/Season\ 5/ IN_CLOSE_WRITE,IN_MOVED_TO tvrenamer.pl
> --folder=/RAID/TV/Numb3rs/Season\ 5/
> /RAID/TV/Supernatural/Season\ 4/ IN_CLOSE_WRITE,IN_MOVED_TO tvrenamer.pl
> --folder=/RAID/TV/Supernatural/Season\ 4/
>
> It works great when I first edit or start crontab, but after a few hours if
> just stops working. the incrond proccess is still running but nothing
> happens when I move or copy a file into the folder. If I restart incron it
> all works as expected again, but once again after a number of hours it stops
> processing.
>
> There are no errors being reported, syslog shows the normal activation when
> it's working, no errors, then when it's stops working it shows nothing at
> all in syslog.
>
> The partition I am monitoring is NTFS, I am mounting it read/write using
> ntfs-3g, not sure if that might be causing problems.
>
> Regards,
> Beau
>
>
> On Fri, Oct 17, 2008 at 7:59 AM, <lukas_at_aiken.cz> wrote:
>
>> Hi,
>> I'm sorry for delaying my reply. Your prediction is probably true. It
>> looks like the bug which has been reported (many times) as the issue
>> #0000174 (http://bts.aiken.cz, registration is required). I plan to
>> create a bugfix incron release as soon as possible. Please stay tuned.
>> Thanks.
>>
>> Lukas
>>
>>
>> Hi,
>>>
>>> I have incrontab installed and it all appears to be working, but I can't
>>> get it to run a script.
>>>
>>> I have a perl script that renames TV episodes using data pulled from web
>>> sites. I am trying to call this when files are placed in folders.
>>>
>>> My Crontab looks like this
>>> /RAID/TV/American\ Dad/Season\ 4 IN_MOVED_TO /usr/bin/tvrenamer.pl
>>> --folder="$@"
>>>
>>> This appears in Syslog
>>> Oct 9 09:54:45 MediaBox incrond[5471]: (beau) CMD (/usr/bin/tvrenamer.pl
>>> --folder="/RAID/TV/American Dad/Season 4")
>>>
>>> If I manually run the command shown in syslog "/usr/bin/tvrenamer.pl
>>> --folder="/RAID/TV/American Dad/Season 4" the perl script does it's thing,
>>> but the command launched by crontab just doesn't do anything. After much
>>> testing I am thinking maybe it has something to do with the whitespaces
>>> returned in by the $@ but I really am not sure.
>>>
>>> Beau
>>>
>>
>>
>
Received on Tue Nov 04 2008 - 02:23:15 CET

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