Python script to check when cron jobs will run next. Inspired by systemd list-timers and crontab guru
A bit heavy on the libraries but this was the quickest way to get what I needed. Make sure you have all these installed:
import subprocess
import os
from croniter import croniter
from datetime import datetime
import dateutil.tz
import io
Remember to edit the timezone parameter in the script, to suit your locale.
Recommended: make the file executable (chmod +x cron_schedule.py
) and make an alias to run it (for convenience).