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)
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)
Do you have any advices so I can make my cron tasks stick with their own path?
Thanks for your time.
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
Thanks for your time.