 |
 |
Domain Technologie Control Forum Take the control of your domain name
|
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
Belgarath
Joined: 14 Jan 2010 Posts: 65
 |
Posted: Mon Feb 08, 2010 7:09 pm Post subject: Cron Jobs |
 |
|
Hi,
Is there any way to allow hosting customers to execute cron jobs (mostly php) either form web-gui or from ssh console ? |
|
| |
|
|
|
 |
 |
 |
 |
 |
gplhost Site Admin

Joined: 16 Feb 2005 Posts: 3702 Location: Tampa, florida and Singapore, Malaisia  |
Posted: Tue Feb 09, 2010 5:15 am Post subject: |
 |
|
Currently, there's no such functionality. Feel free to contribute it.
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. |
|
| |
|
|
|
 |
 |
 |
 |
 |
Belgarath
Joined: 14 Jan 2010 Posts: 65
 |
Posted: Fri Feb 12, 2010 3:35 pm Post subject: |
 |
|
Hi Thomas,
Do you know how to get php working in chroots ? I do not want cron job to have full permissions when they are executed.
BTW How do I do a patch for you ?
I am using latest debian build form your repositories |
|
| |
|
|
|
 |
 |
 |
 |
 |
gplhost Site Admin

Joined: 16 Feb 2005 Posts: 3702 Location: Tampa, florida and Singapore, Malaisia  |
Posted: Sat Feb 13, 2010 12:47 pm Post subject: |
 |
|
To send patches, uses Git and the current unstable version of DTC (that I, by the way, do not recommand in production, beware of that...).
I see no issue in having php running in the chroot, you just need to copy the necessary binaries. But remember that a chroot is not enough (you also have to use a different UID than root otherwise it's not safe).
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. |
|
| |
|
|
|
 |
 |
 |
 |
 |
Belgarath
Joined: 14 Jan 2010 Posts: 65
 |
Posted: Sat Feb 13, 2010 1:19 pm Post subject: |
 |
|
I was planning opn using dtc user (if it is not safe let me know)
if i can use php in chroot easily that is good how can I add php into chroot for all users ? |
|
| |
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
|
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
|
|
|
 |