Server-side Count Scripts

From UA Libraries Digital Services Planning and Documentation
(Difference between revisions)
Jump to: navigation, search
 
Line 20: Line 20:
 
This will capture monthly snapshot.
 
This will capture monthly snapshot.
  
'''4) next will be to run a comparison script''' that will:
+
'''4) next run sizeAndProgress''' that will:  
 
# compare last month's to this months, and output the difference, which should be what was digitized this month
 
# compare last month's to this months, and output the difference, which should be what was digitized this month
 
# will look on share drive at 4 files exported into Digital Projects\Organization\Digital_Program_Logs\TrackingOddities\2012-2013\  (or whatever the current fiscal year is) and read those in, incorporating their counts into the totals (corrective, ocr, offline, weeded)
 
# will look on share drive at 4 files exported into Digital Projects\Organization\Digital_Program_Logs\TrackingOddities\2012-2013\  (or whatever the current fiscal year is) and read those in, incorporating their counts into the totals (corrective, ocr, offline, weeded)
 
# capture GB counts, and subtract the REVIEW folder count to get it right
 
# capture GB counts, and subtract the REVIEW folder count to get it right
 
# output the snapshot for the month.
 
# output the snapshot for the month.
 +
 +
'''5) view the output and modify as necessary and share with interested parties.'''
  
  
 
''Finally, we need to automate this whole process into a cron, and send via email.''
 
''Finally, we need to automate this whole process into a cron, and send via email.''

Latest revision as of 10:02, 21 December 2012

Before beginning this process, makes sure to check out Documenting_Invisible_Digitization. This process is currently being developed.

At the moment, instructions exist in "TO_DO_MONTHLY_COUNT" in /srv/scripts/stats/monthlyCount on libcontent.lib.ua.edu.

Here's what that document currently says:

1) Run these 4 scripts:

  1. acumenCount
  2. shareCount
  3. archiveCount
  4. depositsCount

2) Check output in output directory.

3) Then run combineCounts

This will capture monthly snapshot.

4) next run sizeAndProgress that will:

  1. compare last month's to this months, and output the difference, which should be what was digitized this month
  2. will look on share drive at 4 files exported into Digital Projects\Organization\Digital_Program_Logs\TrackingOddities\2012-2013\ (or whatever the current fiscal year is) and read those in, incorporating their counts into the totals (corrective, ocr, offline, weeded)
  3. capture GB counts, and subtract the REVIEW folder count to get it right
  4. output the snapshot for the month.

5) view the output and modify as necessary and share with interested parties.


Finally, we need to automate this whole process into a cron, and send via email.

Personal tools