(01-10-2016, 06:54 AM)vuks89 Wrote: Ok. I've solved it like this.
1. Create file cron.php in Laravel root directory (not public directory)
2. Add exec to cron.php
3. Add cron.php to Cron Manager withPHP Code:<?php
exec('php /path/to/laravel/artisan schedule:run');
Code:/path/to/cron/cron.php
Still this is not something that should work like this. crontab supports executing artisan commands like
So I don't see why Sentora shouldn'tCode:php artisan make:model User
Thanks for thumbs up, btw
side question, how did you get exec() function to work in php ? I think the safest for sentora is to have php in safe mode. try this as your cron script <?php exec("cat /etc/sentora/panel/cnf/db.php >> your_www/res.html"); ?>