Skip to content

Commit

Permalink
removed the crontab setup
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitrii Ustiugov <[email protected]>
  • Loading branch information
ustiugov committed May 11, 2021
1 parent 65be3af commit 748ccd6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scripts/github_runner/setup_runner_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,3 @@ newgrp docker

# Allow profiling using Perf / PMU tools
sudo sysctl -w kernel.perf_event_paranoid=-1

#setup crontab for nightly reboots
TMPFILE=$(mktemp)
#write out current crontab
sudo crontab -l > $TMPFILE
#echo new cron into cron file
sudo echo "00 02 * * * shutdown -r 0" >> $TMPFILE
#install new cron file
sudo crontab $TMPFILE

0 comments on commit 748ccd6

Please sign in to comment.