Cockpit: Request: Crontab management

Created on 4 Oct 2014  Â·  16Comments  Â·  Source: cockpit-project/cockpit

Ability to manage cron tasks, add/remove, set time/date/intervals

enhancement

Most helpful comment

This has been implemented with the 'Timers' support.

All 16 comments

Do you mean like systemd timers under Services?

Yes in that section but the ability to add a new timed systemd service etc.
Schedule a backup or modify one etc.
On 5 Oct 2014 01:38, "andreasn" [email protected] wrote:

Do you mean like systemd timers under Services?

—
Reply to this email directly or view it on GitHub
https://github.com/cockpit-project/cockpit/issues/1297#issuecomment-57910027
.

Sounds good!
I'll post some mockups here.

First iteration. Made the overview page closer resemble the systemctl list-timers CLI command.
Spent most of the time on the dialog, so the overview might still be a bit rough. Also currently missing Unit Activation/Deactivation currently.

Mockup

@rhamilto I see bootstrap-datepicker as a bower component dependency in the latest the patternfly source code. I guess that should be our go to for date selection.

@stefwalter, I'm guessing you're mistaking

"bootstrap-combobox": "~1.1.6",
"bootstrap-select": "~1.5.4",
"bootstrap-treeview": "~1.0.1",

to include bootstrap-datepicker as https://github.com/patternfly/patternfly/blob/master/bower.json doesn't (yet) include bootstrap-datepicker. :)

regardless, bootstrap-datepicker seems like a good choice and is probably the one i'll include should we determine a need for one.

Can we consider bootstrap-datetimepicker https://github.com/Eonasdan/bootstrap-datetimepicker as it provides additional functionality of choosing time as well?

@Aayush-Kasurde makes a good point.

@rhamilto I did see the string 'bootstrap-datepicker' when i grepped the patternfly repo, hence my suspicions that you were leaning that way :)

[stef@falcon patternfly]$ git grep bootstrap-datepicker
components/bootstrap-treeview/Gruntfile.js:          { expand: true, cwd: 'public/bower_components/bootstrap-datepicker/js', src: 'bootstrap-datepicker.js', dest: 'tests/lib/' },

If possible, I would like to keep the Date and Time pickers separate. The reason for that is that the time picker is also present in the repeat hourly/weekly/monthly entrys. This then stays consistent if you switch to repeat yearly.

How did this end up going @andreasn

How did this end up going @andreasn

The designs are in good shape I think, but it needs somebody to develop the feature.
Are you interested in taking it on?

@andreasn sadly I have no code experience or time to learn otherwise I'd
certainly be interested.

On Tue, 13 Oct 2015 at 08:57 andreasn [email protected] wrote:

How did this end up going @andreasn https://github.com/andreasn

The designs are in good shape I think, but it needs somebody to develop
the feature.
Are you interested in taking it on?

—
Reply to this email directly or view it on GitHub
https://github.com/cockpit-project/cockpit/issues/1297#issuecomment-147537707
.

This has been implemented with the 'Timers' support.

Was this page helpful?
0 / 5 - 0 ratings