Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: MasterSleepy on October 14, 2004, 10:07:36 AM
-
Hello,
I've just finished a contrib to manage crontab using a panel in the server-manager.
You can find it here (http://www.vanhees.cc/modules.php?op=modload&name=Downloads&file=index&req=viewsdownload)
Regards.
-
Execellent job Michel. I have downloaded and installed your Crontab Manager contrib on SME 6.0.1-01 using the Special Custom SME distribution found on this forum. It works great just what I/we needed. Just one little thing, in the panel "day of week" entry check the spelling of Saturday. (Saterday) I don't know if makes any difference but just wanted to let you know.
Thanks for your efforts. I'll keep testing and let you know how I make out. Looks great so far.
regards,
Bob...
-
Thanks for the feedback.
A new version is available at the same url.
It will correct "Saturday" and a problem with the installation.
To update remove old crontibs first :idea:
regards.
-
I cannot uninstall sme-crontab_manager-0.1-1. Seems you've made a typo in the expand template instruction. Any idea how to solve this?
[root@qs2 root]# rpm -e sme-crontab_manager
/var/tmp/rpm-tmp.32721: /sbin/e-msith/expand-template: No such file or directory
error: execution of %preun scriptlet from sme-crontab_manager-0.1-1 failed, exit status 127
[root@qs2 root]#
-
I have the same error message when i tried uninstalling it as well.
-
Try with that command
rpm -e --noscripts sme-crontab_manager-0.1-2
/sbin/e-smith/db configuration delete cronmanager
/sbin/e-smith/expand-template /etc/crontab
That should solve the problem.
Regards.
-
Thanks Mastersleepy. This did solve the problem. Will start testing this contrib soon. Looks great!
-
Hi all,
A new version is now available, 1.0-1.
Major change is the ability to select the user that run the command.
NOTE : To install this new contrib, please remove the old one. All entry will be erase :idea: :idea:
Regards.
-
what else do you plan to include in your contrib?
i don't like to install a new version every second day...
cheers
-
That's the last modification I've included.
Except a bug correction, no new version are planned.
Regards.
-
Hi MasterSleepy.
Congrats on a great contrib - just what I was looking for, but didn't know it...
That's the last modification I've included.
Except a bug correction, no new version are planned.
Regards.
Can I suggest an enhancement:
1) Ability to specify less granular intervals. E.g.. */5 in the minutes column is every 5 minutes. I often use every 5 minutes, but can't find a way in your contrib to do so.
Cheers -
-
Hello,
To make a task run every 5 min you have to select in the first menu list '5' and the second menulist select 'YES'.
Regards.
-
Ahhh, indeed that does exactly what I want. Thank you!
One other suggestion that I thought of. How about an 'enabled' column, where we can uncheck the 'enable' button, and it comments out the line in crontab. Occasionally I need to temporarily disable a service, then re-enable it later on.
Cheers -
-
Great Job! I asked on this forum a few weeks back about this very thing, and you made it happen. Wonderful!
You can come out with as many new versions/bug fixes as often as you like!
Mark
-
Great job - looks good! If I get a chance this week, I'm going to tie it in with my McAfee file system scans - you can always edit crontab/10runparts, or whatever, (of the templates for cron), but it'll be great to be able to see them all in one list, and not have to try to re-figure out what effects what every 6 months or so, when I need to make some tweak somewhere.
-
Great job MasterSleepy!
Question for anyone who can help me. Via the crontab manager I had setup pandasoft antivirus scan to run every hour per day, week, month etc, (just to test) but it doesn't seem to work.
Here is my crontab:
cat /etc/crontab
1 * * * * root /usr/bin/pavcl / -aut -heu -aex
The /usr/bin/pavcl / -aut -heu -aex command does work from the consol as root.
I'm not sure if this helps but crontab -l produces the following:
no crontab for root
Am I missing something to run this? The pavcl file is executible, ownerhip is root etc.
Thank you kindly in advance, this is a great forum community.
Jpeters
Update: I found a remedy by having crontab run a script to have panda AV scan my drives instead of a command itself. Also, the cron log showed that the proggy was running at the prescribed times etc.
!S
-
great contrib.
but i have one question:
why does the contrib not explore the existing entries in crontab?
on my sytem there are already some entries (logrotate, virus-scanner update, backup, ...) that are not listed in the contrib.
cheers
-
Hello,
I've just finished a contrib to manage crontab using a panel in the server-manager.
You can find it here (http://www.vanhees.cc/modules.php?op=modload&name=Downloads&file=index&req=viewsdownload)
Regards.
I'm unable to download this RPM. Is it kept anywhere else ?
Regards,
William.
-
One day later and the sites back up.... yippee.
-
Great job.
Any help on how to make is for days 2-6 only?
example in my old crontab
00 03 * * 2-6 /home/scripttorun
-
Nice job!! Crontab manager works "just out of the box" on my SME 6.5
Tried to figure out why an ordinary job added with crontab -e doesn´t work as root.
Then while searching i saw your rpm and tested it.
Still don't know why crontab -e jobs doesent work with SME.
Anyone have a clue regarding crontab -e added jobs?
/Ice
-
Tried to do an install... just to see if it would installl and it would not.
I think that this is an excellent utility that I would like to see installed on my Server.
Brian