entries.saveEntry not triggered by ResaveElements task
It's because the ResaveElements task calls craft()-&gt;elements-&gt;saveElement() directly, instead of going through the element specific save method (like craft()-&gt;entries-&gt;saveEntry().

You'll want to listen to the onSaveElement event, check that it's an Entry you're looking at, then perform any specific business logic that you need.