Skip to content

Python script that allows you to easily update a server cron that has many different projects without overwriting other crons.

Notifications You must be signed in to change notification settings

kjam/cron-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cron parser

Easy python script that allows you to change pieces of a crontab for different projects based on having a crontab that delineates different sections on a project-by-project basis.

Using cron_parser

  1. your crontab must be formatted with sections of the cron delineated to different projects. For an example of how to organize your crontab, see crontab_example.txt.
  2. create a file that has the list of crons you'd like to replace for a project and put it in a file. For an example of this file, see crontab_new_example.txt.
  3. run python parse_crontab.py new-file-with-crons.txt project_name and viola! your crontab is updated.

Questions?

@kjam on freenode / @katharine on hipchat

About

Python script that allows you to easily update a server cron that has many different projects without overwriting other crons.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages