Convertir crontab au format lisible
# -*- coding: utf-8 -*-
import pretty_cron
print pretty_cron.prettify_cron("0 * * * *")
# At 0 minutes past every hour of every day
print pretty_cron.prettify_cron("0 0 1 1 *")
# At 00:00 on the 1st of January
print pretty_cron.prettify_cron("12 15 * 1 *")
# At 15:12 every day in January
print pretty_cron.prettify_cron("lalala")
# lalala
Recommended Posts