O orangehand macrumors newbie Original poster Oct 23, 2006 27 15 Mar 12, 2015 #1 I need to make an action somehow so that File Sharing service is turned off at a certain time, once, in Yosemite Server - can anyone help me please? Would I use automator? Thanks
I need to make an action somehow so that File Sharing service is turned off at a certain time, once, in Yosemite Server - can anyone help me please? Would I use automator? Thanks
K kryten2 macrumors 65816 Mar 17, 2012 1,115 99 Belgium Mar 12, 2015 #2 A launchd job and the serveradmin command is a possible way of doing this. Chapter 8 in the Command_Line PDF is about Working With File Services. Info : https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/ScheduledJobs.html - https://www.apple.com/server/docs/Command_Line.pdf
A launchd job and the serveradmin command is a possible way of doing this. Chapter 8 in the Command_Line PDF is about Working With File Services. Info : https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/ScheduledJobs.html - https://www.apple.com/server/docs/Command_Line.pdf