Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bio-boris authored Dec 19, 2024
1 parent 486bfc1 commit 6784eeb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,19 @@ Runs scripts from source/monthly directory
There is a doi_monthly CRON job for Credit Engine that runs are located in bin/upload_doi_metrics.sh

These create Logs to keep track of (note nightly metrics is calling master_cron_shell
```
01 17 * * * /root/metrics/nightly_metrics.sh >>/mnt/metrics_logs/crontab_nightly 2>&1
01 0 1 * * /root/metrics/monthly_metrics.sh >>/mnt/metrics_logs/crontab_monthly 2>&1
01 0 15 * * /root/metrics/monthly_metrics.sh >>/mnt/metrics_logs/crontab_doi_monthly 2>&1
01 0 15 * * /root/metrics/monthly_metrics_doi.sh >>/mnt/metrics_logs/crontab_doi_monthly 2>&1
01 07 * * * /root/metrics/nightly_errorlogs.sh >>/mnt/metrics_logs/crontab_errorlogs 2>&1
*/10 * * * * /root/metrics/ee2_cron_metrics.sh >>/mnt/metrics_logs/crontab_ee2metrics 2>&1
```

From Docker03 the logs can be checked by going doing the following.
cat /mnt/nfs3/data1/metrics/crontab_logs/crontab_nightly
cat /mnt/nfs3/data1/metrics/crontab_logs/crontab_monthly
cat /mnt/nfs3/data1/metrics/crontab_logs/crontab_doi_monthly
```
Can also confirm things ran by looking in the database (if not need to do backfills).
Example: (should be first of each month)
Expand All @@ -93,4 +97,4 @@ The old contents of the metrics repo have been deleted from the current tree. Th
them was 150ca6f, if you need access to them, you can rollback your local copy of the repo to that commit,
or else just go to the following link:
https://github.com/kbase/metrics/tree/150ca6f61fb2411e607f15fb91407a83305daaf6
https://github.com/kbase/metrics/tree/150ca6f61fb2411e607f15fb91407a83305daaf6

0 comments on commit 6784eeb

Please sign in to comment.