Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Using terminal to remotely control Mac running as a home file server

I am using a MacBook Pro 2013 as a home file server. I have

schedules to have it turn on in the morning, and at night, I remotely shut it

down from my everyday mac in terminal. However, I want to broadcast a message

through terminal to users who are locally logged-in so they can save their work

before the server shuts down. Then I want to run a command that tells the computer

to shut down in 10 minutes. Is all of this possible to do, and if so, how?

Mac

Posted on Feb 28, 2022 12:38 PM

Reply
Question marked as Best reply

Posted on Apr 1, 2022 12:09 PM

TheTechPianoPlayerKid wrote:

I am using a MacBook Pro 2013 as a home file server. I have
schedules to have it turn on in the morning, and at night, I remotely shut it
down from my everyday mac in terminal. However, I want to broadcast a message
through terminal to users who are locally logged-in so they can save their work
before the server shuts down. Then I want to run a command that tells the computer
to shut down in 10 minutes. Is all of this possible to do, and if so, how?


see if there is anything here:

Use Mac mini as a server - Apple Support


Using OS X as a File Server for a Network - Lifewire



see this reference: Setting up a local web server on a Mac - Apple Community



Similar questions

1 reply
Question marked as Best reply

Apr 1, 2022 12:09 PM in response to TheTechPianoPlayerKid

TheTechPianoPlayerKid wrote:

I am using a MacBook Pro 2013 as a home file server. I have
schedules to have it turn on in the morning, and at night, I remotely shut it
down from my everyday mac in terminal. However, I want to broadcast a message
through terminal to users who are locally logged-in so they can save their work
before the server shuts down. Then I want to run a command that tells the computer
to shut down in 10 minutes. Is all of this possible to do, and if so, how?


see if there is anything here:

Use Mac mini as a server - Apple Support


Using OS X as a File Server for a Network - Lifewire



see this reference: Setting up a local web server on a Mac - Apple Community



Using terminal to remotely control Mac running as a home file server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.