Can you redirect the stderr and stdout of the incron call to the script
?
Then you will have a log of what the command did, when launched by
incron.
Could be a PATH issue.
-- -------------- Regards David On Wed, Jan 28, 2009 at 09:16:39AM -0500, jared wrote: > I ended up using the "IN_ALL_EVENTS" mask to make sure there is a trigger. > > I know my command/function/script works because when I paste it in the > terminal it works fine. > > I know the event is getting picked up by incron because I can see the event > register in the /var/log/messages, and the command that is executed is the > same exact one I put into the terminal that works. > > but the action is not happening, even though the computer is telling me. > > > > This is what is to happen: > I drop a pdf into a folder > incron recognizes an item being dropped into the folder > my script is executed (the script converts a pdf to jpg then deletes the > pdf file, conversion is through imagemagick) > > > again, I know the script works as when I paste it in the terminal it works. > I know incron is seeing the action as it is logged in /var/log/messages and > notes the CMD which exactly matches what I paste in the terminal. > > the only problem is when I drop the pdf into the folder and incron registers > in /var/log/messages nothing happens in the folder with the pdf. > > > is there some thing I am missing?Received on Thu Jan 29 2009 - 00:29:12 CET
This archive was generated by hypermail 2.2.0 : Tue Jun 05 2012 - 22:14:21 CEST