Differences

This shows you the differences between two versions of the page.

Link to this comparison view

smadmin [2013-05-14 23:19]
127.0.0.1 external edit
smadmin [2013-12-06 16:04] (current)
rspencer Fix heading levels
Line 1: Line 1:
-=====smadmin=====+====== smadmin =====
 smadmin is responsible for keeping a summary of usages each month, deleting old or duplicate entries in certain tables and determining which topups are still available for use for each new month. smadmin must be set up to run monthly, on the first day of the new month (crontab). smadmin is responsible for keeping a summary of usages each month, deleting old or duplicate entries in certain tables and determining which topups are still available for use for each new month. smadmin must be set up to run monthly, on the first day of the new month (crontab).
  
-<​code>#​ Usage:+<​code>​ 
 +# Usage:
 ./smadmin [args] ./smadmin [args]
  
Line 9: Line 11:
 --debug Put into debug mode --debug Put into debug mode
  
---cleanup Cleanup database records</​code>​+--cleanup Cleanup database records 
 +</​code>​
  
 Several modules have functions that smadmin calls. Several modules have functions that smadmin calls.
  
-====mod_config_sql_topups.pm====+===== mod_config_sql_topups.pm ====
 Topups that have been depleted are marked so. Partially used topups, if they are still valid, are added to the topups_summary table. Topups that have been depleted are marked so. Partially used topups, if they are still valid, are added to the topups_summary table.
  
-====mod_accounting_sql.pm====+===== mod_accounting_sql.pm ====
 A sum of all records from the previous month are added to the accounting_summary table with a period key in datetime format. A sum of all records from the previous month are added to the accounting_summary table with a period key in datetime format.