Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Use the bash script shown below. Save as a text file to your local environment (for example, with the filename "blocks").
  2. In the terminal make the file executable

    Code Block
    chmod 755 blocks


  3. Execute the script with the specification of how many days before 2018-12-05 and how many days after.  In this example, it computes the expected block numbers for a window 30 days before and 90 days after:

    Code Block
    ./blocks 30 90

    These numbers should both be decreased every time the website timer is updated.  If the release date changes from 2018-12-05, the script will have to be updated and a new window calculated that's still within the previous one.

  4. After the script runs, find the new numbers in the log


  5. Use these numbers to update the numbers on the timer.

...