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.

Sentora Cron adds extra slash
#1
Sentora Cron adds extra slash
Today i wanted to add a new cron, but it did not work..
So i checked permissions and ownership of a the files and they where ok.

When i took a look at the cron file Sentora is creating i see that there is a extra / after the public_html dir.
So i tried to delete and add the cron again without a / before, but sentora will not take it.
Is this problem known?

Code:
0,10,20,30,40,50 * * * * 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/zadmin/:/var/sentora/temp/" /var/sentora/hostdata/zadmin/public_html//xxx_xx_xx/xx/xx.php

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by:
#2
RE: Sentora Cron adds extra slash
I haven't seen this yet Ron-e. My crons (Ubuntu 1404) have been working and adding just fine. Will do some tests.

FYI: On mine I do not use the starting /.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
RE: Sentora Cron adds extra slash
The file to check/edit to fix or test is modules/cron/code/controller.ext.php line: 149.

That is the the path it adds to the database.

PHP Code:
$full_path ctrl_options::GetSystemOption('hosted_dir') . $currentuser['username'] . "/public_html/" $controller->GetControllerRequest('FORM''inSc
ript'
); 
According to that, you should not enter the starting / and I do not see how it could add a second / unless the user enters it into the form.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,031 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,169 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 2 ,598 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 1 Guest(s)