# OAR 2.6 documentation

## oaraccounting

This command permits to update the accounting table for jobs ended since the last launch.

Option `--reinitialize` removes everything in the accounting table and switches the “accounted” field of the table jobs into “NO”. So when you will launch the oaraccounting command again, it will take the whole jobs.

Option `--delete_before` removes records from the accounting table that are older than the amount of time specified. So if the table becomes too big you can shrink old data; for example:

    oaraccounting --delete_before 2678400

(Remove everything older than 31 days)