The automatic sync from iModules to WP does not always capture new or more often updated events. Running these steps on the schedule described will keep the events more in sync. Updated 12/18/2019

Step-by-step guide

Run these steps 3 days a week on Monday, Wednesday, & Friday:

  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



  3.  Run the 2 command string shown below:

    terminus wp cornell-alumni.live -- option update cornell_events_last_sync 1589195555;terminus wp cornell-alumni.live -- cornell events sync --all



  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.