If the author and public instances are not using the same time, you may see the following error when you publish content:
The error is coming from
info.magnolia.publishing.command.PublicationCommand when using the Publishing module.
To resolve this issue, check the system time (server time) on both instances. Configure the servers to use Network Time Protocol (NTP) so that they could use the same time and stay in sync.
If you are still getting the error, then on your public instance(s) configure a higher
The property allows for a time difference between the instances. The default value is 30,000 milliseconds (30 seconds).