Btw, I really appreciate you helping me through this - if solved, this would help my productivity tremendously! I used the More command it showed a time stamp of yesterday 19:53:36. So I ran the program again and it showed a new time stamp
% more "/Volumes/External 18TB HDD/.keepThisDriveSpinning"
2023-06-06 09:19:56 EDT
I ran the same command 20 mins later and then again 90 mins later and it seems it's still at the same time stamp which shows the program isn't running. I would think it writes to the hidden file every couple of mins which it's not going. I do see this file in LaunchAgents and last modified is 9:19am - info.stovell.KeepDriveSpinning_agent.plist
Next I did a diagnosis and here it is
Result:
-------
The Keep Drive Spinning launch agent for External 18TB HDD is not working correctly.
The reason for the failure could not be determined automatically.
The diagnostic information below may yield a clue.
Details:
--------
OS version:
10.16
Volume info:
Name: External 18TB HDD
Path: /Volumes/External 18TB HDD
Format: APFS format
Current date:
2023-06-06 09:43:14 EDT
Contents of hidden file:
2023-06-06 09:19:56 EDT
Launch agent path:
/Users/etaleb/Library/LaunchAgents/info.stovell.KeepDriveSpinning_agent.plist
Launch agent status:
- 1 info.stovell.KeepDriveSpinning_agent
Launch agent contents:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>info.stovell.KeepDriveSpinning_agent</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/open</string>
<string>-b</string>
<string>info.stovell.KeepDriveSpinning</string>
<string>--args</string>
<string>/Volumes/External 18TB HDD</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>60</integer>
</dict>
</plist>
Writing to the hidden file:
Succeeded