Versions Compared

Key

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

...

  1. Convert a date 1 week (don't enter a time) previous using a UNIX timestamp converter, https://www.epochconverter.com/ 
  2. Copy that timestamp into the command string
    Image RemovedImage Added


  3.  Run the 4 2 command string shown below:

    terminus wp cornell-alumni.live -- option update cornell_events_last_sync 1576083600;terminus wp cornell-alumni.live -- cornell events cron --off1589195555;terminus wp cornell-alumni.live -- cornell events sync --all;terminus wp cornell-alumni.live -- cornell events cron --on



  4. Errors:
    1. Most likely if you get an error it will be because the date entered was too far in the past, as is shown in the example below. If it error-ed out after you ran the

      terminus wp cornell-alumni.live -- cornell events sync --all command, check your timestamp from the starting command using the converter.

    2. As you can see in this example the date of the timestamp is from 1 year in the past instead of 1 week.

    3. Put the correct date in the converter (https://www.unixtimestamp.com/index.php)

    4. Run the terminus wp cornell-alumni.live -- option update cornell_events_last_sync 1547164800 command line again.

    5. Finish up by running the command (terminus wp cornell-alumni.live -- cornell events cron --on)  to turn cron back on.
       



...