Versions Compared

Key

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

Have Terminus installed on your computer first

https://pantheon.io/docs/terminus/install/

...

Every time a sync is run either through Terminus or Cron, the last sync time is automatically updated with the time of that the sync began. If the plan is to run events sync manually for now, it would be best to just disable cron entirely for events (command below) and then reset the last_sync time back to the date of our last manual sync for that first run, which is November 9, 2017, Unix timestamp 1510185600. Any events that have already been added will simply be skipped. Then just run the manual sync command and it will automatically sync just the latest events.

Test

If you want to get the time of last sync (in Unix Timestamp format)

...

terminus wp cornell-alumni.test -- cornell events sync --all

Live

If you want to get the time of last sync (in Unix Timestamp format)

...