We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
crontab create folder not on domain context
crontab create folder not on domain context
Hi all.
I have a php web with yii framework.
I create a cronjob
/usr/bin/php -q /home/<my_user>/web/<my_domain>/public_html/yii defer >> /home/<my_user>/web/<my_domain>/public_html/runtime/logs/cron-errors.txt
I want my cronjob to create folder with name upload/yyyy/mm/dd , example /home/<my_user>/web/<my_domain>/public_html/web/upload/2020/01/01
but folder upload/yyyy/mm/dd is created in /home/<my_user>/web not in /home/<my_user>/web/<my_domain>/public_html.
How i can set environment or variable to create folder in /home/<my_user>/web/<my_domain>/public_html/web.
Thanks.
I have a php web with yii framework.
I create a cronjob
/usr/bin/php -q /home/<my_user>/web/<my_domain>/public_html/yii defer >> /home/<my_user>/web/<my_domain>/public_html/runtime/logs/cron-errors.txt
I want my cronjob to create folder with name upload/yyyy/mm/dd , example /home/<my_user>/web/<my_domain>/public_html/web/upload/2020/01/01
but folder upload/yyyy/mm/dd is created in /home/<my_user>/web not in /home/<my_user>/web/<my_domain>/public_html.
How i can set environment or variable to create folder in /home/<my_user>/web/<my_domain>/public_html/web.
Thanks.