jge162 / Python-Scripts

Python scripts to start your day with ease. Enjoy more up time by eliminating downtown. Run one master script and all your scripts are done in one. Enjoy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python_Scripts:

Total Files File Size GitHub Repo stars GitHub release (latest SemVer) Contributors Forks Issues Pull Request

Scripts to help you get through your day faster.

Initial setup:

Open terminal

type:

crontab -e

0 0 * * * sudo python3 /Users/home/Scripts/Master_script.py

In nano, you can press Ctrl + O to save the file and then press Enter. To exit, press Ctrl + X.

In vim, you can type :w and press Enter to save the file, and then type :q and press Enter to exit.

crontab -l

Your Python script will now run daily at 12:00 AM as scheduled by the cron job. Make sure that the script has executable permissions, and it should work as expected. If your script requires root (sudo) privileges, you should ensure that it's safe to run with those privileges, as running scripts with elevated permissions can be risky.

After downloading the repo, open the zip folder and use your prefered IDE. I personally used PyCharm.

After that you need to find the file path for you folder and update it Accordingly.

Supported systems:

Also note: Codes are setup to run on Mac OSX (supported_system != PC || Linux)

Time to run the scripts:

Lastly, you can open a terminal window on your Mac and run sudo python3 Master_Script.py

Or alternatively, you can just run python3 Master_script.py to execute all desired scripts in one command line entry in terminal PyCharm too.

Link to latest release:

Release v1.0.0

Issues:

If you run accross any issues or bugs, please open an issue in repo so I can fix and/or patch. Thanks.

License info:

jge162/Python_Scripts is licensed under the GNU General Public License v3.0

Designed with 💙 by @jermyiah™

About

Python scripts to start your day with ease. Enjoy more up time by eliminating downtown. Run one master script and all your scripts are done in one. Enjoy

License:GNU General Public License v3.0


Languages

Language:Python 100.0%