How long? It could be hours, days, weeks or never.
I agree with KC that it's not a good idea to put food so close to it. Also I think it should be fixed up on the wall, not sitting on the ground. That is far too low and risks predators getting into it.