Changes between Initial Version and Version 1 of TimingAndEstimationScriptHelp


Ignore:
Timestamp:
Aug 15, 2006, 5:14:12 PM (8 years ago)
Author:
bobbysmith007
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TimingAndEstimationScriptHelp

    v1 v1  
     1This is a log of me running the trac_billing script (included in the scripts folder of the TimingAndEstimationPlugin
     2
     3'''First we import the trac_billing package'''[[br]]
     4>>> import trac_billing[[br]]
     5'''This runs the billing report against every trac database and emails the result to the specified address'''[[br]]
     6>>> trac_billing.run_billing('russ@acceleration.net')[[br]]
     7Collecting output...[[br]]
     8''' You might see some errors here if you dont have the plugin installed on some of your tracs or if you have non trac files folders in the trac directory'''[[br]]
     9---[[br]]
     10Writing out billing information to '/var/BigVisibleCharts/Billing/billing_2006_8_14_14_21_.html'[[br]]
     11---[[br]]
     12Emailing results to russ@acceleration.net[[br]]
     13''' Here we issue the command to add a new bill date at the current time to all of the databases'''[[br]]
     14>>> trac_billing.mark_billing_date_in_all_projects()[[br]]
     15Marking the bill date on all projects.[br]
     16* ADWolf2006 failed: ('no such table: bill_date',)[[br]]
     17tracMgmt Succeeded.[[br]]
     18... ''' There will be a line for every directory in the trac folder and whether or not it succeeded or failed'''
     19Done marking bill dates[[br]]