To keep Schedules sharing working correctly you need to disable Sleep mode on the computer.
Prevent your Mac from sleeping when the display is off
The latest Mac OS version - Ventura
1. Use the Apple Menu to launch the System Settings app on your Mac.
2. Scroll down to find Displays in the left sidebar and click to open it.
3. Scroll down the right sidebar and open the Advanced… setting.
4. Under Battery & Energy, enable the toggle next to Prevent automatic sleeping on power adapter when the display is off.
5. Use the Done button to save changes.
Now even when the display is off, your Mac will not sleep. However, note that this setting only works when our Mac is connected to a power source. If your Mac is on battery power, it will sleep after the display turns off.