You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Overview

Resources for training.

Topics Covered

  • Reporting Automations
  • Wrapper script installation and use
  • Manually generating reports (no script)
  • Wiring a cron job

Video

Script

Following is a script for the attached video.

Preparation:

Briefly mention the documentation on reporting

  • Reports are attached to projects
  • Reports can be viewed through the dashboard widget
  • Reports can either be generated automatically or on demand
  • Mojos:  Mention the ReportsGenerateDailyMojo

Wrapper script:  Very simple one.

  • As with all wrapper scripts, find them in ~/bin
  • cd ~/bin/, more dailyReports.csh
  • Note the config properties to set (MAPPING_CODE, MAPPING_CONFIG, MAPPING_DATA)
  • Note that emails are automatically sent if any problems occur

Manually generating reports:

  • Mention mojo again
  • Note that reports can be "faked" going back in time, but accuracy cannot be fully guaranteed.
    • start date and end date specified to do this

Wiring to cron job:

  • crontab:  program used to install, remove, or list the current cronjobs
  • Demonstrate crontab -l, crontab -e
  • Note MAILTO and column headers, direct to online documentation
  • n/a
  • No labels