Moab Accounting Manager > Managing notifications > Deleting notifications

Deleting notifications

To delete a notification, use the command grmnot:

grmnot [--debug] [--site site_name] [--help] [--man] [--quiet] [--verbose] [--version] {[-N] notification_id}

Example 15-2: Deleting a notification

$ grmnot 4
 
Successfully deleted 1 notification

Example 15-3: Deleting all successful notifications

To delete many notifications, query them with the --delete option:

$ glsnot -x Success --delete
 
Id Event Type Status  Code Message                                                                                                                                                                                                                                                                                                                Key Recipient EndTime             CreationTime
-- ----- ---- ------- ---- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --- --------- ------------------- -------------------
4  20    Fire Failure 782  Payment Begin failed starting payment: Failed creating payment starting lien: Insufficient balance to reserve usage (Instance Moab.1)\ nClearing the event fire time.\ nThe controlling event has been deleted.                                                                                                        9   amy       2014-04-23 13:35:01 2014-04-09 13:35:01
1  11    Fire Success 000  Payment Begin: Successfully charged 10 credits for instance Moab.1\ nSuccessfully charged 20 credits for instance Moab.2\ nSuccessfully charged 20 credits for instance Moab.3\ nSuccessfully started payment (6) and created 3 liens\ nClearing the event fire time.\ nThe controlling event has been deleted.        6   scottmo   2014-04-23 13:28:02 2014-04-09 13:28:02
2  14    Fire Success 000  Payment Begin: Successfully charged 10 credits for instance Moab.1\ nSuccessfully charged 20 credits for instance Moab.2\ nSuccessfully charged 20 credits for instance Moab.3\ nSuccessfully started payment (7) and created 3 liens\ nClearing the event fire time.\ nThe controlling event has been deleted.        7   amy       2014-04-23 13:31:02 2014-04-09 13:31:02
3  17    Fire Success 000  Payment Begin: Successfully charged 10 credits for instance Moab.1\ nSuccessfully charged 20 credits for instance Moab.2\ nSuccessfully charged 20 credits for instance Moab.3\ nSuccessfully started payment (8) and created 3 liens\ nClearing the event fire time.\ nThe controlling event has been deleted.        8   amy       2014-04-23 13:32:02 2014-04-09 13:32:02
Successfully deleted 3 notifications

Related topics 

© 2014 Adaptive Computing