stephdl
(Stéphane de Labrusse)
October 29, 2015, 8:17pm
1
The purpose is to manage your crontab.
yum install http://mirror.de-labrusse.fr/nethserver/nethserver-crontabmanager/nethserver-crontabmanager-0.0.3-1.ns6.sdl.noarch.rpm
You can either use the panel to set your cron job, or if you prefer, use the advanced panel and write exactly your desired parameters.
You have now a help page
6 Likes
Whoa! Thatâs cool, Iâm already installing it. Thanks to developing thatâs feature request:
I just want to pass the ajax cron of Owncloud to a cron system task and I was suprise to not find a feature to schedule a task or something to interact with Crontab.
sitz sound have some interest too
who else ? If you think it could be a nice to have, just like this post.
If you have any preference between those cron visual scheduler
you could also vote for one of those or propose another visual.
1â [image]
2â [image]
3â[image]
Iâm sure that @medworthy @sitz and @JOduMonT are going to help us to test it
EDIT:
I love it
[root@botolo ~]# tail -3 /etc/crontab
## cron for Clean my email every hour
0 * * * * alessio rm -rf /var/lib/nethserver/vmail/alessio/Maildir/cur/*
2 Likes
BTW, this command will fail: user alessio canât delete is own email.
1 Like
alefattorini
(Alessio Fattorini)
October 30, 2015, 10:29am
4
Right! Just wanted to make sure youâre paying attention
1 Like
stephdl
(Stéphane de Labrusse)
October 30, 2015, 10:59am
6
maybe there is an issue with the month setting, since I use the Month name, the setting âeachXmonth */Xâ is maybe hard to understand, I should add the number of the month in the translation
sitz
(Roberto Sitzia)
October 30, 2015, 11:38am
7
Thanks @stephdl
I missed you a lot
I will play with your crontabmanager and I will give you my feedback.
stephdl
(Stéphane de Labrusse)
November 6, 2015, 9:40pm
8
now the version is nethserver-crontabmanager-0.0.3-1, close of the final version
4 Likes
sitz
(Roberto Sitzia)
November 29, 2015, 3:34pm
9
Hi @stephdl
as promised I have tried your work.
Your crontab-manager is essential and simple to use: good job and thank you for your contribution.
Just an hint: in the list page of crontab jobs I would add a column with the scheduling time to give administrator information at glance about every single job.
Hint above raise me a question: how to translate cronttab scheduling in a readable format?
I would like crontab-manager should be added to official repository and translated in every available language.
5 Likes
alefattorini
(Alessio Fattorini)
Split this topic
December 11, 2015, 5:19pm
10
3 posts were split to a new topic: Start learning developing
alefattorini
(Alessio Fattorini)
December 16, 2015, 11:16am
11
Iâd like the same, @giacomo @davidep how can we move it on the forge?
Any QA process to pass?
davidep
(Davide Principi)
December 16, 2015, 11:23am
12
alefattorini:
Any QA process to pass?
Well, yes:
http://dev.nethserver.org/projects/nethforge/wiki/NethForge#Quality-Assurance-QA
That document does not say that the package can be uploaded on nethforge-testing
by the RPM author, provided his SSH public key is in packages.nethserver.org
If QA is ok, Iâll fork the original repo, add to NethServer organization on GitHub, build the RPM and release to nethforge
.
BTW Iâd like to delegate this last step to another person, by granting him upload permissions on nethforge
, too.
alefattorini
(Alessio Fattorini)
December 16, 2015, 11:30am
13
Looks straightforward, what do you think @stephdl ?
Might the above French man be our guy?
2 Likes
stephdl
(Stéphane de Labrusse)
December 17, 2015, 9:33am
14
I love when people trust in meâŠbut iâm just a man who is riding is lifeâŠ
I will try to write a much longer answer and explain the vision i have on the work i provided/ will provide.
Actually at workâŠand with a baby at home who steals my time
alefattorini
(Alessio Fattorini)
December 17, 2015, 1:29pm
15
Looking forward to your vision donât worry man I know exactly what âbaby at homeâ means.
stephdl
(Stéphane de Labrusse)
April 29, 2016, 8:15pm
16
yum install http://mirror.de-labrusse.fr/nethserver/nethserver-crontabmanager/nethserver-crontabmanager-0.0.4-1.ns6.sdl.noarch.rpm
now it is possible to enable/disabled the email notification to root
the key is tested looking if the name is already used
MartinsZB
(MÄrtiĆĆĄ Zabarovskis)
April 30, 2016, 5:41pm
17
I have some problem.
I want to run following command every 15 minutes
llgal -d /home/nethserver_ibay/fotobanka -R -a --cf --exif Make,Model,DateTime --fe --lt --sy 400
I created a job in crontabmanager.
In /etc/crontab it looks nice:
## cron for Fotobankas apstrade
*/15 * * * * root llgal -d /home/nethserver_ibay/fotobanka -R -a --cf --exif Make,Model,DateTime --fe --lt --sy 400
Also log shows, that it is executed:
Apr 30 20:30:02 servelis crond[27420]: (system ) NULL security context for user, but SELinux in permissive mode, continuing ()
Apr 30 20:30:02 servelis CROND[27422]: (root) CMD (llgal -d /home/nethserver_ibay/fotobanka -R -a --cf --exif Make,Model,DateTime --fe --lt --sy 400)
But the process do not happen. If I run the same command in terminal, all happens as expected.
what I miss?
stephdl
(Stéphane de Labrusse)
April 30, 2016, 6:42pm
18
Can you try to put the command inside quote âbash commandâ with the complete path to the command
MartinsZB
(MÄrtiĆĆĄ Zabarovskis)
April 30, 2016, 9:07pm
19
Same result.
May 1 00:00:01 servelis crond[3711]: (system ) NULL security context for user, but SELinux in permissive mode, continuing ()
May 1 00:00:01 servelis CROND[3713]: (root) CMD (â/usr/local/bin/llgal -d /home/nethserver_ibay/fotobanka -R -a --cf --exif --fe --lt --sy 400 --title âM\305\253su bildesââ)
stephdl
(Stéphane de Labrusse)
April 30, 2016, 10:03pm
20
what about if you drop a file in /etc/cron.d/llegal with inside
*/15 * * * * root /usr/local/bin/llgal -d /home/nethserver_ibay/fotobanka -R -a --cf --exif --fe --lt --sy 400