Skip to content

Commit

Permalink
Run only once a week.
Browse files Browse the repository at this point in the history
  • Loading branch information
painter1 committed Apr 26, 2021
1 parent 1243872 commit 6374be8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion reports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ synda queue >> $LOGFILE 2>&1

# PERF_START_DATE should be the previous end date; but if we run this
# daily at the same time every day, this is 24 hours ending now:
export PERF_START_DATE=`date --date=yesterday '+%Y-%m-%dT%H:%M'`
#export PERF_START_DATE=`date --date=yesterday '+%Y-%m-%dT%H:%M'`
# the same, but for weekly:
export PERF_START_DATE=`date --date='1 week ago' '+%Y-%m-%dT%H:%M'`
export PERF_END_DATE=`date '+%Y-%m-%dT%H:%M'`
# daily at the same time every day, this is midnight to midnight:
#export PERF_START_DATE=`date --date=yesterday '+%Y-%m-%dT00:00'`
Expand Down

0 comments on commit 6374be8

Please sign in to comment.