run script on publish

It looks like it could be because the filter cannot find the include file.

Try using:

include( ABSPATH. "/path/to/file/jobsfeed.php" )