Moab Accounting Manager > Managing funds > Modifying funds

Modifying funds

To modify a fund, use the command gchfund:

gchfund { [-n fund_name] [--priority fund_priority] [--default-deposit deposit_amount] [-d description] [-X, --extension property=value]... [—add-constraint constraint_name=[!]constraint_value,...] [--del-constraint(s) constraint_name[=constraint_value],...]... [--parent parent_fund_id] } | { --reset [--all]} [-u user_name] [-g group_name] [-a account_name] [-o organization_name] [-c class_name] [-m machine_name] [--filter filter_name=filter_value]... [--filter-type Exclusive|NonExclusive] [--debug] [--site site_name] [--help] [--man] [--quiet] [--verbose] [--version] ([-f] fund_id}

Example 6-6: Adding a constraint to a fund so that it can only be used by the acme organization

$ gchfund --add-constraint Organization=acme 7
 
Successfully created 1 constraint

Example 6-7: Setting the default deposit amount for a fund

$ gchfund --default-deposit 5000000 -f 1
 
Successfully modified 1 fund

Example 6-8: Resetting a fund

$ gchfund --reset 1
 
Successfully deposited 5000000 credits into fund 1
Successfully stopped 1 allocation
Successfully created 1 allocation

Related topics 

© 2014 Adaptive Computing