Moab Accounting Manager > Managing usage records > Issuing usage refunds

Issuing usage refunds

A charged amount can be credited back in part or in whole by issuing a usage refund. This action attempts to lookup the referenced usage record to ensure that the refund does not exceed the original charge and so that the charge entry can be updated. If multiple matches are found (such as the case when instance names (such as job ids) are non-unique), this command will return the list of matched usage records with unique ids so that the correct usage record can be specified for the refund.

To issue a refund for a usage charge, use the command grefund:

grefund [-z amount] [-f fund_id] [-d description] [-A] [--filter filter_name=filter_value]... [--filter-type Exclusive|NonExclusive] [-h, --hours] [--debug] [--site site_name] [--help] [--man] [--quiet] [--verbose] [--version] {-J instance_name|job_id | [-j] usage_record_id}

Example 10-9: Issuing a usage refund

$ grefund -J PBS.1234.0
 
Successfully refunded 19744 credits for instance PBS.1234.0

Related topics 

© 2014 Adaptive Computing