View Single Post
Old 12-10-2021, 10:27 AM   #333
Ty Cobb
Hall Of Famer
 
Ty Cobb's Avatar
 
Join Date: Mar 2013
Location: Grayling, MI
Posts: 4,586
For the mystified Mac Users (Like I used to be)

Quote:
Originally Posted by PSUColonel View Post
I have Mac also…does this mod work as intended? Or is it still “a work in progress”?
For a long time, I enviously spied all the Windows/Linux folk, and wiser Mac users than myself running this and was cluelessly beating my head against the wall. This morning, I checked another site for tips on the execution of shell scripts, and had an epiphany. Those other folk...they're right. This is easy once you understand the rules.

Once you've installed Java (free download from Oracle), don't change any of the filenames.

1. Open settings.ini. It's very well documented inside.
2. Adjust the schedule parameters to your liking. (You can use TextEdit, but BBEdit makes it easier for me, and it's free)
3. Save the file.
4. Copy the pathname of the folder you've got this app stored in by doing a get info on the FOLDER and selecting the pathname from that window (see Pic)
5. Open the Terminal.
6 Type cd, a space, and paste the pathname you just copied. This tells the Terminal where to look.
7. Type "chmod +x run.sh" without the quotes. This tells the Terminal the script hs permission to be run.This is where a lot of us were falling down. Mac OS is Unix based, and therefor all about permissions.
8. Type "sh run.sh" without the quotes.

9. Follow the prompts as it runs. Don't forget to use the write command before you exit the Terminal, or your script won't be saved!

10. Schedule is written to the same folder the Java app is in.
Attached Images
Image 
__________________
"You could not live with your own failure. Where did that bring you? Back to me."
Thanos
Ty Cobb is offline   Reply With Quote