Running a Script on a Schedule

Windows Task Scheduler and cron on a Mac run a script at set times with no terminal open, so the job names the virtual environment's python and the script by their full paths, the script finds its files from its own folder, and logging records each run in a log file.

By

Updated

Cheat sheet: Running a Script on a Schedule
Category
Python
Level
Journeyman
Tags
cron, cron-expression, crontab, log-file, logging Module, python, task-scheduler