growe Posted January 7, 2013 Share Posted January 7, 2013 I have some custom hooks and in a few places exit the hook by using exit() it works ok except when the hook is triggered by the cron job. In that situation it appears that it is not just the hook that exits but also the entire cron job. No further tasks in the cron execute. Is there a better way to exit just the hook? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 7, 2013 Share Posted January 7, 2013 You just need to use "return;" 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.