Go to Admin > Stores > Edit > Enable Automatic Scheduling and save the settings
Set the times for opening and closing the store and update the settings.
Go to your Hosting Provider cPanel and configure the Cron Job as shown in the video below:
Minute, Hours, Days, Month, Weekday are set to *
The Revised Command to be set is:
wget -O /dev/null https://yourwebsite.com/public/schedule/run/your-admin-password
Replace yourwebsite.com with your own website
Replace your-admin-password with your own Super Admin password