18. Scheduled tasks & sync service
18.1 Task Editor
Set each task's schedule — every n day(s) at a time, monthly, or every few minutes/hours — with a live “Next Run” preview. Run Now runs it immediately.
18.2 Sync Status
Last run, result and next run for each task. Start runs a task now in the sync service. A task that returns “Postponed…” is retried in 30 minutes.
18.3 The 20 built-in tasks
| Task | What it does | Typical schedule |
|---|---|---|
| Sync Guests | Arrivals, departures, cancellations; phone/kiosk check-ins to the PMS; contacts; door codes; payment links; room assignment; messages. | Through the day |
| Load Guest Reservations | Reservations from the PMS into the guest database. | Early morning |
| Load New Guest Reservations | Bookings since the last load. | Several times a day |
| Load Room Status | Clean/dirty/vacant from the PMS. | Afternoon & evening |
| Set Room Status | Housekeeping's clean/inspected rooms to the PMS. | During cleaning hours |
| Assign Rooms | Rooms from live availability. | Late morning |
| Checkin Self Checked in Guests | Completes phone/kiosk check-ins in the PMS. | Through the day |
| Checkout Self Checked Out Guests | Completes online check-outs in the PMS. | Morning |
| Create Payment Links | Payment links for today's arrivals. | Morning |
| Respond To Emails | OTA guest message auto-replies. | Every 10 min |
| Receive Texts | Guest texts into the inbox; auto-replies. | Every few min |
| Respond to Texts | Rule-based text responses. | As configured |
| Auto Review | Reviews and replies; low-score alerts. | Every 4 h |
| Declined Cards | Updated card requests; guest e-mail/text. | Daily |
| Check Cancellations | Fees due/unpaid/missing. | Daily |
| Reconcile OTAs (Daily) | Balances, recent check-outs, refunds. | 6:30 AM |
| Reconcile OTAs (month) | Previous month. | 1st, 5 AM |
| Night Audit | 11 PM pre-audit and early-morning post-audit checks. | 11 PM & 3–8 AM |
| Auto Night Audit | Pre-audit → pending arrivals → Close the Day → post-audit. | AutoNightAudit |
| Night Audit Reports | E-mails and files the reports. | After the audit |
18.4 Which PC runs the sync service
Only computers with AllowSyncService = TRUE (computer level). Choose two per hotel so one can take over.
18.5 Requests from phones
Every minute, before the scheduled tasks, the sync service runs the steps requested from the staff app's Front Desk tab (while its schedule isn't paused and it holds the sync lease). Each result goes to the run log. Requests not picked up within 30 minutes expire. See Front desk on the phone.
19. Administration & settings levels
Settings resolve in this order, the most specific winning: Built-in default → All hotels → This hotel → This computer.
- Edit them in Set Up → Step 7; saves apply without a restart.
- Secrets (passwords, keys) are stored separately and never copied between hotels.
19.1 MyHotel Admin app
For super admins only. Sign-in needs a code texted to a super admin's phone (or a trusted device). Tabs:
| Tab | What it does |
|---|---|
| Computers & versions | Every front desk PC, kiosk and phone: hotel, version, who signed in; Update now. |
| Releases | Publish a build as a pilot, promote to stable, back to pilot, withdraw; Pilot code…. |
| Hotels | Settings of this hotel, switch hotel, set up a new hotel, copy, rebrand to a new site id, delete a hotel. |
| Trusted devices | Computers and phones that sign in without a texted code; revoke one or all. |
| Website | The company contact on the website and the staff app's Register page (18.4). |
The MyHotel Admin phone app has Computers, Hotels, Releases (with Pilot code), Settings and Trusted devices.
19.2 Releases: pilot first, then everyone
- Publish uploads a build and lists it as a pilot. Computers in the pilot group get it automatically.
- When it's proven, Promote makes it the stable version for everyone. Back to pilot and Withdraw undo that (computers on a withdrawn version go back to the newest available).
- Pilots newer than the newest stable version are also offered in the launcher's Version list, marked “test version, needs a pilot code”.
19.3 Pilot codes: install a test version without a link
- Make a code: Releases → Pilot code… in MyHotel Admin (valid 1–30 days, default 3; for 1–20 computers), or the phone admin app's Pilot code (1 day/1 computer, 3 days/1 computer, 7 days/3 computers). The code is shown once, with Copy.
- On the hotel computer, run the launcher, pick the pilot in Version and confirm.
- When the pilot version starts the first time it asks for the 10-digit code. The right code puts the computer in the pilot group for good; it never asks again and keeps getting pilot releases.
- No question on a computer already in the pilot group, for a stable version, or when the app isn't run from the launcher's install folder.
- The sync service never asks: on an unapproved computer a pilot sync process stops.
- 5 wrong codes on one computer: a 15-minute wait. 10 wrong codes in total lock every code until a new one is made. Codes can be revoked or deleted in the list (…last 4 digits, state, uses, expiry, last used by).
19.4 Website contact (one place)
MyHotel Admin → Website: company, contact person, phone, e-mail and website. Save and publish to the website saves them as the all-hotels settings VendorCompany, VendorContactName, VendorContactPhone, VendorContactEmail, VendorWebsite and publishes config/contact.json on www.myhousinggroup.com. Every page of the website (Contact page, footers, buttons, the contact form) and the staff app's Register page read it, so nothing else needs editing.