jamesrwhite / minicron

🕰️ Monitor your cron jobs
GNU General Public License v3.0
2.34k stars 154 forks source link

Import existing crontab jobs #210

Closed gabriellhrn closed 8 years ago

gabriellhrn commented 8 years ago

I've added an option to import existing jobs from a crontab file (I thought it would be a good feature when I messed my crontab file and had to rewrite it from the cron.log 😞).

The screenshots below show how it should work.

screenshot from 2016-03-12 16-29-44 screenshot from 2016-03-12 16-31-55 screenshot from 2016-03-12 16-32-32 screenshot from 2016-03-12 16-33-15 screenshot from 2016-03-12 16-33-37 screenshot from 2016-03-12 16-34-32

mvlbarcelos commented 8 years ago

+1

jamesrwhite commented 8 years ago

Related to: https://github.com/jamesrwhite/minicron/issues/111

jamesrwhite commented 8 years ago

Aside from the two comments above this looks great, thank you!

I might make a few tweaks post merge to make it clearer to the user what this actually does and possibly have a step that shows you what jobs would be imported.

gabriellhrn commented 8 years ago

I forgot about the special strings. I've put them now.

It makes more sense in the hosts controller indeed. Moved it.

jamesrwhite commented 8 years ago

Thanks!