Skip to content

Commit

Permalink
install reboot cronjob
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Jan 9, 2024
1 parent 73dd678 commit d6c81b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contracts/sh/prepare-ec2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,9 @@ cd monorepo
git checkout feat/aws-scripts
yarn
cd contracts && yarn build

# install the cron job to start the tally task at instance reboot
crontab -l > tmpcron
echo "@reboot /home/ubuntu/monorepo/contracts/sh/start-tally-with-logging.sh" >> tmpcron
crontab tmpcron
rm tmpcron awscliv2.zip

0 comments on commit d6c81b1

Please sign in to comment.