 |
 |
Domain Technologie Control Forum Take the control of your domain name
|
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
reaper
Joined: 14 Jun 2008 Posts: 17 Location: Somewhere in wilderness with bears and vodka  |
Posted: Thu Jun 19, 2008 10:29 am Post subject: cron for users |
 |
|
| Is it possible for users to create their own cron jobs? Maybe I miss something or this feature missing from DTC? |
|
| |
|
|
|
 |
 |
 |
 |
 |
gplhost Site Admin

Joined: 16 Feb 2005 Posts: 3702 Location: Tampa, florida and Singapore, Malaisia  |
Posted: Fri Jun 20, 2008 6:13 pm Post subject: |
 |
|
It's missing.
I'm not sure how to do it yet. Maybe I should use sbox for that, so it's not a security threat...
Any idea for the interface?
Thomas _________________ GPLHost:>_ Opensource hosting worldwide
Xen hosting with DTC pre-setup
Helping is not easy when request is not precise: please past logs, don't use "it said" or similar impersonal subjects, and try to be verbose and exhaustive on your problem description. |
|
| |
|
|
|
 |
 |
 |
 |
 |
chrisoverly
Joined: 15 Aug 2008 Posts: 19
 |
Posted: Mon Aug 18, 2008 6:23 pm Post subject: |
 |
|
The Cpanel way of doing cron for users is very user friendly (on the newer versions), although if they need cron, they are more than likely an "advanced user" that can research themselves on how to set it up with just a basic control panel
I second the need for cron for users.
Chris |
|
| |
|
|
|
 |
 |
 |
 |
 |
gplhost Site Admin

Joined: 16 Feb 2005 Posts: 3702 Location: Tampa, florida and Singapore, Malaisia  |
Posted: Tue Aug 19, 2008 6:06 am Post subject: |
 |
|
We shall make some search on how to do limitation and chroot the way we do for sbox. I think that one of the way might be to call an URL in the /cgi-bin folder, that way the workload for it would be minimal. Would that be a satisfying way?
Thomas _________________ GPLHost:>_ Opensource hosting worldwide
Xen hosting with DTC pre-setup
Helping is not easy when request is not precise: please past logs, don't use "it said" or similar impersonal subjects, and try to be verbose and exhaustive on your problem description. |
|
| |
|
|
|
 |
 |
 |
 |
 |
TDS

Joined: 17 Sep 2008 Posts: 66
 |
Posted: Thu Sep 18, 2008 8:25 am Post subject: |
 |
|
| chrisoverly wrote: |
The Cpanel way of doing cron for users is very user friendly (on the newer versions), although if they need cron, they are more than likely an "advanced user" that can research themselves on how to set it up with just a basic control panel
I second the need for cron for users.
Chris |
In wich cp you are? Can't find such a link in the cp :-/ _________________ Bye, TDS
Server: AMD X2 5600+, V0.30.13 R1 Debian Lenny x64
Home: AMD X2 5200+, Win7 Ultimate x64
|
|
| |
|
|
|
 |
 |
 |
 |
 |
Etherkiller
Joined: 22 Feb 2009 Posts: 15 Location: Norway  |
Posted: Fri Mar 20, 2009 1:13 pm Post subject: |
 |
|
| Bumping this post: Gotten any further on cron for users? |
|
| |
|
|
|
 |
 |
 |
 |
 |
gplhost Site Admin

Joined: 16 Feb 2005 Posts: 3702 Location: Tampa, florida and Singapore, Malaisia  |
Posted: Fri Mar 20, 2009 3:56 pm Post subject: |
 |
|
We would need to write something like sbox for it, and this is not a task that can be done so fast. I don't want to add yet another security hole.
Maybe what could be done is something that would just query the user's website. That is doable and not too insecure, and would satisfy most web sites. Am I right saying so?
Thomas _________________ GPLHost:>_ Opensource hosting worldwide
Xen hosting with DTC pre-setup
Helping is not easy when request is not precise: please past logs, don't use "it said" or similar impersonal subjects, and try to be verbose and exhaustive on your problem description. |
|
| |
|
|
|
 |
 |
 |
 |
 |
weare
Joined: 15 Jun 2009 Posts: 6 Location: RUSSIA  |
Posted: Mon Jun 15, 2009 4:31 am Post subject: |
 |
|
| gplhost wrote: |
We would need to write something like sbox for it, and this is not a task that can be done so fast. I don't want to add yet another security hole.
Maybe what could be done is something that would just query the user's website. That is doable and not too insecure, and would satisfy most web sites. Am I right saying so?
Thomas |
Hi, Thomas and All!
I'm testing DTC and it's great system.
The problem of cron missing is important for me.
For now I just wont ask somebody how I can solve this problem.
I think, that possible add user task in cron by ticket request. This solution is for short time... or forever
Hope that my english is understandable.
Thanks! |
|
| |
|
|
|
 |
 |
 |
 |
 |
gplhost Site Admin

Joined: 16 Feb 2005 Posts: 3702 Location: Tampa, florida and Singapore, Malaisia  |
Posted: Mon Jun 15, 2009 5:45 am Post subject: |
 |
|
The issue here is that we can't just setup cron and forget. It has to be done in a secure way, using chrootuid, setlimits() calls, etc., otherwise it's highly insecure.
Thomas _________________ GPLHost:>_ Opensource hosting worldwide
Xen hosting with DTC pre-setup
Helping is not easy when request is not precise: please past logs, don't use "it said" or similar impersonal subjects, and try to be verbose and exhaustive on your problem description. |
|
| |
|
|
|
 |
 |
 |
 |
 |
weare
Joined: 15 Jun 2009 Posts: 6 Location: RUSSIA  |
Posted: Mon Jun 15, 2009 7:39 am Post subject: |
 |
|
| gplhost wrote: |
The issue here is that we can't just setup cron and forget. It has to be done in a secure way, using chrootuid, setlimits() calls, etc., otherwise it's highly insecure.
Thomas |
Thanks for your answer, Thomas.
I'll learn the instruction that you proposed.
The best way, i supose, that in user dir will appears somthing like "/etc/cronjob" file, and system cron will read it.
System cron should chek the limitation on resuorces, of course.
In the future, this file ("/etc/cronjob") possibe link to web form, but now user will edit it under shell. |
|
| |
|
|
|
 |
 |
 |
 |
 |
gplhost Site Admin

Joined: 16 Feb 2005 Posts: 3702 Location: Tampa, florida and Singapore, Malaisia  |
Posted: Mon Jun 15, 2009 9:16 am Post subject: |
 |
|
This is not at all the way I planned it. I thought I'd do something that will look into the db and generate something like /etc/cron.d/dtc-cronjobs. But that part is not at all what is hard to do. What is hard is to do is the chroot / chrootuid / setlimits. That's quite a lot more work than just accepting any cron jobs without any security (which is a potential source of hack).
Thomas _________________ GPLHost:>_ Opensource hosting worldwide
Xen hosting with DTC pre-setup
Helping is not easy when request is not precise: please past logs, don't use "it said" or similar impersonal subjects, and try to be verbose and exhaustive on your problem description. |
|
| |
|
|
|
 |
 |
 |
 |
 |
VictorS
Joined: 03 Jul 2009 Posts: 4
 |
Posted: Sat Jul 04, 2009 4:54 pm Post subject: RE: Cron |
 |
|
| Quote: |
| Maybe what could be done is something that would just query the user's website. That is doable and not too insecure, and would satisfy most web sites. Am I right saying so? |
Hello dear Thomas.
You are right. A common use for cron is to execute a php/script file on the website to perform tasks.
This can be done via something as simple as a scheduled wget using "--delete-after" flag and keep users happy.
I vote for this.
Thank you.
Victor |
|
| |
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
 |