View Full Version : Cronjob feature
dreamline
06-04-2006, 09:33 AM
Hi,
Jeff gave me an idea to post a future feature.. It's about cronjobs...
If I login as administrator and setup multiple users as a reseller then I can't add cronjobs through the admin login running cronjobs for resellers.
I have to give the reseller users rights to add cronjobs... Or as Jeff mentioned login as root and add a cronjob manually.
I figured that since I am an admin on DA you should be able to add cronjobs as an admin that run for a reseller user.
As Jeff pointed out you can only do it from the root account or you have to give reseller users rights to access cronjobs.
:)
DirectAdmin Support
06-04-2006, 10:37 PM
Hello,
I'm not following what you mean
If I login as administrator and setup multiple users as a reseller then I can't add cronjobs through the admin login running cronjobs for resellers. Why would a Reseller be allowed to have root cronjobs?
John
dreamline
06-04-2006, 11:05 PM
Hi John,
No that's not what I mean. What I mean is the following:
I login as admin on DA and create some reseller packages and some reseller users. A reseller user contacts me that he/she wants to have a cronjob running every hour and execute a certain PHP script.
So me as an Administrator in DA am switching to my user level where I can add a cronjob. However the cronjob isn't running since the script is probably located in the reseller user's home dir.
So there's either 1 of 2 possibilities:
1. You give the reseller user access to cronjobs in his/her's menu
2. I login as root and add the cronjob as root
It would be nice that if I add a cronjob in DA as an administrator I can also add cronjobs for reseller users.
I hope this clarifies a bit though... :)
Regards,
DirectAdmin Support
06-05-2006, 12:18 AM
Still not understanding what's different than what they already have.
If a Reseller needs to run a cronjob, all they'd (you'd) do, is login as that Reseller, click "User Level", then click "cronjobs" and add it. It will run under their login name, with their permissions, from their home directory.
John
dreamline
06-05-2006, 01:37 AM
Right, that's true, but suppose you are having 20 cronjobs for 20 different people then you have to add them on every users reseller account.. So basically switching users 20 times and update the cronjob.
If it's possible to run under the admin account then you can put all 20 there and there's only one place you have to update incase a cronjob changes..
And besides I don't want people to add their own cronjobs, i want to have total control over what scripts are running..
And ofcourse the best way to have a complete overview is in DA under the admin account... So that users cannot add their own cronjobs...
:)
DirectAdmin Support
06-05-2006, 10:13 AM
So you're just looing for a global cronjob section such that you can edit any User's cronjobs in one place? Similar to the Dns Administration page?
John
dreamline
06-05-2006, 10:15 AM
Yep, that's basically it... :)
Duboux
08-19-2007, 04:37 PM
Excellent idea, a page for admins where all cronjobs from everyone are listed..
Since cronjobs can be tricky on the server-load, it would be nice to have a eye on it somehow :)
RadMan
08-21-2007, 06:43 AM
Ditto... Excellent idea... Not maybe but for sure...
Excellent idea, a page for admins where all cronjobs from everyone are listed..
Since cronjobs can be tricky on the server-load, it would be nice to have a eye on it somehow :)
JDiel
08-21-2007, 06:46 AM
I like the idea also! I'd like to see this in a future update / release.
Regards, Jeroen.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.