What this guide covers
After this guide the Mac mini's system time, log timestamps and scheduled jobs all run on Singapore time. You need a remote desktop you can already operate, and the whole thing takes only a few minutes.
Steps
Why do this step first
The machine is in Singapore. If the system time zone is wrong, the times in logs, file modification times and the moments scheduled jobs fire all shift with it, and when something goes wrong it is hard to match them against what actually happened. The time zone is a basic setting to confirm first on every new machine.
Set the time zone to Singapore
On the remote Mac open System Settings → General → Date & Time and set the time zone to Singapore (Asia/Singapore). If the page has a switch for setting the time zone automatically using the current location, you can let it try once. If it does not give the right result, turn it off and choose Singapore as the closest city by hand.
Turn on Location Services if you need it
It is under System Settings → Privacy & Security → Location Services. The machine really is in Singapore, so turning it on causes no problem. Automatic time zone setting and some apps that depend on region information use it. After you turn on the main switch, the list below lets you control app by app which ones can read the location. Keep only the ones you need.
Verify in Terminal
Open Terminal on the remote Mac and run
date. The time zone in the output should be +08. Then rundate -uto see Coordinated Universal Time. If the two are eight hours apart, it is correct. If the time itself is off, go back to the Date & Time page and check that the switch for setting the date and time automatically is on.Scheduling jobs: write them in the machine's time
cron and launchd calendar triggers both go by the system's local time zone. If you yourself are not in Singapore, convert to the machine's time when you write a trigger time, and add a comment line next to the job that says "this is Singapore time". Have the job write the time with its zone into the log on every run. That saves a lot of effort in later troubleshooting.
Watch for apps that change with the time zone
Apps such as Calendar and Reminders show times in the system time zone, and web pages in the browser read the system time zone as well. When you need to keep another time zone in view, add a city to World Clock in the Clock app rather than switching the system time zone back and forth.
FAQ
Can I set the time zone to where I am?
It is a system setting under your account, so technically yes. But logs and scheduled jobs will then run in that zone, which does not match where the machine is, and over time it gets confusing. We recommend keeping Singapore time and converting on your side.
If I turn on Location Services, can other people see where I am?
What is read is the location of this machine, not your own location. Which apps can read it is controlled one by one in the Location Services list.
Automatic time zone setting gives no result. What should I do?
A Mac mini estimates its location from the network environment, and a result is not always available. Choose Singapore by hand. The effect is the same.
Does changing the time zone affect jobs that are running?
Programs already running are not interrupted, but the log times they write afterwards change, and calendar-triggered scheduled jobs recalculate their next run in the new zone. Try to set it on delivery day, before any jobs are running.
Related
- iMessage, AppleScript and Shortcuts on a rented Mac mini: it runs, but Apple decides about your account
- What to do on day one with a rented remote Mac mini
- How to keep long tasks running on a remote Mac mini after you disconnect
- How do I know my unattended agent is still running properly?
- Typing non-Latin text on a remote Mac mini: add an IME and stop two IMEs clashing
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram @singatao
