3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

めざせpythonライブラリマスター (64)pretty_cron

Posted at

#【ライブラリ説明】
 crontabを読みやすい形式に変換する

#【プログラム】

# -*- 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

#【参考サイト】
 pypi
 github

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?