Re: Crontab configuration tool

Philip Van Hoof <[email protected]>
Newsgroups gmane.linux.redhat.fedora.configuration
Message-ID <1086120275.7637.17.camel@pluisje>
Using system-config-samba, I have melted your python project to a
ready-for-pam with some minor build environment (Makefiles) thing.

Feel free to use/not use for future development.

It would be nice to have CVS for this project.

Btw. I can use some major GUI redesign actually. It's still WAY to hard
for the average user to set a scheduled task using the GUI.

Maybe some presets should be made:

* Create a scheduled task that starts every day at [  ]h
* Create a scheduled task that starts every [sunday [+]] at[  ]h

And perhaps a tab with "Advanced" for the less standard records.

And a treeview (only columns) with something like:

+-------------+-------------------+-------------------------+
| Frequency   |   Command         | send output/results to  |
+-------------+-------------------+-------------------------+
|Every sunday | /opt/backup.pl    |  mail of root           |
|  at 2:00    |                   |                         |
+-------------+-------------------+-------------------------+
| Every day   | /opt/wakemeup.pl  | /dev/null               |
|  at 9:00    |                   |                         |
+-------------+-------------------+-------------------------+


KISS (Keep it Simple Stupid)

And in the advanced view you can do the 

* * * * * command > /dev/null

It would be cool if the application could parse such lines to
less-hard-to-understand messages. The not-easy-to-translate lines could
then go to the "Advanced"-tab and in the "Normal users"-tab it should
show information about records being only in the "Advanced"-tab.

But maybe other people have another opinion of course ..


However, nice job ..



On Tue, 2004-06-01 at 21:37 +0200, Gaute Hope wrote:
> I have developed a tool for configuring crontab using Python and PyGtk.
> It is located at: http://gaute.eu.org/stasj/cronconf
> 
> It works by reading 'crontab -l' into a file and parse it. And then
> write a new crontab config file and install it with 'crontab <file>'
> This should make it work on different crontab versions, haven't tested
> though.
> 
> You may choose to just save the config file without installing it so
> that you can install it on another computer.
> 
> The add crontab dialoge got a simple time expression builder, mainly to
> make the expression and combine them if necessary.
> 
> If you run as root you can choose to edit other users crontabs, and your
> own since the USER environment variable doesn't update on some terminals
> when you su. The first argument is then the user.
> 
> I plan to make it able to configure 'at' as well. But haven't started
> anything there yet.
> 
> 
> I'd be happy to hear any comments.
> 
> 
> Sorry to most more than once, but mailing lists doesn't like me.
> 
> Gaute Hope
> 
> 
-- 
Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org
work: Philip dot VanHoof at cronos dot be
http://www.freax.be, http://www.freax.eu.org

-- 
Fedora-config-list mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/fedora-config-list
system-config-cron.tar.gz (application/x-compressed-tar, 19.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.