Try to work with crontab from python.