Posted on 12-18-2012 01:18 PM
I had a few push notifications from Profiles that were removed, but they just never seemed to go away. This is a way to get rid of them:
Open a shell prompt
sudo mysql
Once at the prompt, type:
use jamfsoftware
Then type the command:
delete from mobile_device_management_commands where apns_result_status != 'Acknowledged';
Posted on 12-23-2012 10:55 PM
Nice one! Do you happen to know how to push the ones saying pending but not applying?
Posted on 01-13-2013 10:14 AM
Cem, this removes failed push notifications. Just make sure you have a backup.
delete from mobile_device_management_commands where error_code !='-1';
Posted on 09-03-2015 07:26 AM
Is anyone using this regularly, or is there a better way to do this now?
Posted on 04-19-2016 08:12 AM
BUMP
Posted on 07-12-2016 09:00 AM
it's the way I have been doing this.