Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ There is a doi_monthly CRON job for Credit Engine that runs are located in bin/u
These create Logs to keep track of (note nightly metrics is calling master_cron_shell
```
17 5 * * * /root/bin/dbBackup.daily
01 17 * * * DATE=$(date +\%Y\%m\%d); /root/metrics/nightly_metrics.sh >> /mnt/metrics_logs/nightly_$DATE.log 2>&1
00 09 * * * DATE=$(date +\%Y\%m\%d); /root/metrics/nightly_metrics.sh >> /mnt/metrics_logs/nightly_$DATE.log 2>&1
01 0 1 * * DATE=$(date +\%Y\%m\%d); /root/metrics/monthly_metrics.sh >> /mnt/metrics_logs/monthly_$DATE.log 2>&1
01 0 15 * * DATE=$(date +\%Y\%m\%d); /root/metrics/monthly_metrics_doi.sh >> /mnt/metrics_logs/doi_monthly_$DATE.log 2>&1
30 23 * * * /mnt/metrics_logs/move_yesterdays_logs.sh >> /mnt/metrics_logs/move_logs.log 2>&1
Expand Down
2 changes: 1 addition & 1 deletion bin/crontab_scripts/notify.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# Define directories and Slack webhook URL
LOG_DIR="/mnt/metrics_logs/previous_logs"
LOG_DIR="/mnt/metrics_logs"
SLACK_WEBHOOK_URL="https://hooks.slack.com/services/YOUR/WEBHOOK/URL"

# Get today's and yesterday's dates in YYYYMMDD format
Expand Down
Loading