hey guys.
just published my new package:
https://github.com/itay-bardugo/python-cron-migration
the package helps developers to add/remove cronjobs with python by revision files which are composed through CLI
You can find more info on Medium:
https://medium.com/@itaybardugo91/python-cron-migration-cronjobs-managing-8b9ee1f1856e
I will be happy to hear what do you think.
Enjoy :-)
Top comments (2)
I like this concept, nice work.
I took a look at how you're writing out the crontab. There are some benefits to using the
crontab
command to perform the edit, specifically syntax validation -- ensuring the whole cron file doesn't get borked.This is how I did it for CronitorCLI (this is Go, but the python code using Subprocess would look pretty similar)
gist.github.com/shaneharter/f8ac1e...
hey Shane.
Thank you for your comment and for you suggestion with your example as well as.
I will check it out.