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 cron --off
To run a full sync, imports all events from the last sync timeTo turn cron back on
terminus wp cornell-alumni.test -- cornell events cronsync --onall
To turn cron back onTo run a full sync, imports all events from the last sync time
terminus wp cornell-alumni.test -- cornell events synccron --allon
Live
If you want to get the time of last sync (in Unix Timestamp format)
...
terminus wp cornell-alumni.live -- cornell events cron --off
To run a full sync, imports all events from the last sync time
terminus wp cornell-alumni.live -- cornell events sync --all
To turn cron back on
terminus wp cornell-alumni.live -- cornell events cron --on
To run a full sync, imports all events from the last sync time
Run all command in one line separated by colon: (Remember to replace the time)
terminus wp cornell-alumni.live -- option update cornell_events_last_sync 1510185600;terminus wp cornell-alumni.live -- cornell events cron --off;terminus wp cornell-alumni.live -- cornell events sync --all;terminus wp cornell-alumni.live -- cornell events cron --on