This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Cron Path Issue
#1
Cron Path Issue
Hello I have a problem when I want to set cron tasks for different VHost

Ex: If I submit a cron task in the first VHost, everything's fine and the path is allright (Open_basedir is the same as the cron target)


Code:
php -d suhosin.executor.func.blacklist="passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" -d open_basedir="/var/sentora/hostdata/ex1/:/var/sentora/temp/" /var/sentora/hostdata/ex1/public_html/cron/cron.php

But as soon as I submit another cron task in another VHost, all the open basedir  of my previous cron tasks changes for the new path of my other domain name. (In the example, the ex1 becomes EX2)



Code:
php -d suhosin.executor.func.blacklist="passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" -d open_basedir="/var/sentora/hostdata/EX2/:/var/sentora/temp/" /var/sentora/hostdata/ex1/public_html/cron/cron.php
Do you have any advices so I can make my cron tasks stick with their own path?
Thanks for your time.
Thanks given by:
#2
RE: Cron Path Issue
I think it's a bug. We need to check this.

https://github.com/sentora/sentora-core/issues/287
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Thanks given by: cybertec


Possibly Related Threads…
Thread Author Replies Views Last Post
Old issue on Daily Backup iraqiboy90 24 112 ,472 12-26-2020, 12:48 PM
Last Post: conglynina
Security issue urgent johnnyp 7 12 ,781 02-27-2020, 06:19 PM
Last Post: johnnyp
sub-domain issue kevwebbie 15 30 ,215 12-21-2018, 05:51 PM
Last Post: kevwebbie

Forum Jump:


Users browsing this thread: 1 Guest(s)