...
- Convert a date 1 week (don't enter a time) previous using a UNIX timestamp converter, https://www.epochconverter.com/
- Copy that timestamp into the command string
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
- Errors:
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.
As you can see in this example the date of the timestamp is from 1 year in the past instead of 1 week.
Put the correct date in the converter (https://www.unixtimestamp.com/index.php)
Run the terminus wp cornell-alumni.live -- option update cornell_events_last_sync 1547164800 command line again.
Finish up by running the command (terminus wp cornell-alumni.live -- cornell events cron --on) to turn cron back on.
...