Created
September 22, 2016 22:00
-
-
Save kitak/82792c8825d583142ae6a0fc018e87e7 to your computer and use it in GitHub Desktop.
python-crontabモジュールを試した
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from crontab import CronTab | |
cron = CronTab(user=True) | |
cron.remove_all() | |
job = cron.new(command='/bin/echo') | |
job.enable() | |
cron.write() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment