Cronjob feature

dreamline

Verified User
Joined
Dec 3, 2005
Messages
108
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.

:)
 
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
 
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,
 
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
 
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...

:)
 
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
 
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 :)
 
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 :)
 
Back
Top