-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci/cd): provision benchmark collection (#485)
* fix(ci/cd): provision benchmark collection * fix delete logic' * change const name * build fix
- Loading branch information
1 parent
86cfa71
commit 4f799b4
Showing
11 changed files
with
239 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# doc: | ||
# this script will modify your server's crontab | ||
# to run the collect_benchmarks.sh script at 6am everyday | ||
|
||
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")/.. | ||
|
||
# 6am everyday | ||
(crontab -l; echo "\ | ||
0 6 * * * . $HOME/.bashrc; (bash $SCRIPT_DIR/collect_benchmarks.sh) 2>&1 | logger -t sig_bench \ | ||
") | crontab | ||
|
||
echo "Cron job added. Current crontab:" | ||
crontab -l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.