beevabeeva / cron_schedule

Python script to check when cron jobs will run next. Inspired by systemd list-timers and crontab guru

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cron_schedule

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).

image

About

Python script to check when cron jobs will run next. Inspired by systemd list-timers and crontab guru

License:GNU General Public License v3.0


Languages

Language:Python 100.0%