GPLHost Dedicated and xen servers
GPLHost:>_ Dedicated, shared, Xen virtual private servers, managed and domain name hosting woldwide with open source control panel here
Domain Technologie Control Forum Forum Index Domain Technologie Control Forum
Take the control of your domain name


cron for users

 
Post new topic   Reply to topic    Domain Technologie Control Forum Forum Index -> Feature requests
View previous topic :: View next topic  
reaper



Joined: 14 Jun 2008
Posts: 17
Location: Somewhere in wilderness with bears and vodka

 PostPosted: Thu Jun 19, 2008 10:29 am    Post subject: cron for users Reply with quote Back to top

Is it possible for users to create their own cron jobs? Maybe I miss something or this feature missing from DTC?
 
View user's profile Send private message
gplhost
Site Admin


Joined: 16 Feb 2005
Posts: 3702
Location: Tampa, florida and Singapore, Malaisia

 PostPosted: Fri Jun 20, 2008 6:13 pm    Post subject: Reply with quote Back to top

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.
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
chrisoverly



Joined: 15 Aug 2008
Posts: 19

 PostPosted: Mon Aug 18, 2008 6:23 pm    Post subject: Reply with quote Back to top

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 Smile

I second the need for cron for users.

Chris
 
View user's profile Send private message
gplhost
Site Admin


Joined: 16 Feb 2005
Posts: 3702
Location: Tampa, florida and Singapore, Malaisia

 PostPosted: Tue Aug 19, 2008 6:06 am    Post subject: Reply with quote Back to top

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.
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
TDS



Joined: 17 Sep 2008
Posts: 66

 PostPosted: Thu Sep 18, 2008 8:25 am    Post subject: Reply with quote Back to top

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 Smile

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
 
View user's profile Send private message ICQ Number
Etherkiller



Joined: 22 Feb 2009
Posts: 15
Location: Norway

 PostPosted: Fri Mar 20, 2009 1:13 pm    Post subject: Reply with quote Back to top

Bumping this post: Gotten any further on cron for users?
 
View user's profile Send private message Visit poster's website
gplhost
Site Admin


Joined: 16 Feb 2005
Posts: 3702
Location: Tampa, florida and Singapore, Malaisia

 PostPosted: Fri Mar 20, 2009 3:56 pm    Post subject: Reply with quote Back to top

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.
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
weare



Joined: 15 Jun 2009
Posts: 6
Location: RUSSIA

 PostPosted: Mon Jun 15, 2009 4:31 am    Post subject: Reply with quote Back to top

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!
 
View user's profile Send private message
gplhost
Site Admin


Joined: 16 Feb 2005
Posts: 3702
Location: Tampa, florida and Singapore, Malaisia

 PostPosted: Mon Jun 15, 2009 5:45 am    Post subject: Reply with quote Back to top

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.
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
weare



Joined: 15 Jun 2009
Posts: 6
Location: RUSSIA

 PostPosted: Mon Jun 15, 2009 7:39 am    Post subject: Reply with quote Back to top

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.
 
View user's profile Send private message
gplhost
Site Admin


Joined: 16 Feb 2005
Posts: 3702
Location: Tampa, florida and Singapore, Malaisia

 PostPosted: Mon Jun 15, 2009 9:16 am    Post subject: Reply with quote Back to top

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.
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
VictorS



Joined: 03 Jul 2009
Posts: 4

 PostPosted: Sat Jul 04, 2009 4:54 pm    Post subject: RE: Cron Reply with quote Back to top

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
 
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Domain Technologie Control Forum Forum Index -> Feature requests All times are GMT
Page 1 of 1

 
Jump to:  
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




Powered by phpBB© 2001-2005 phpBB Group
- Web hosting - Xen VPS hosting
- Seek