diff --git a/src/Installer/UNIT3D/Unit3dSetup.php b/src/Installer/UNIT3D/Unit3dSetup.php index 411a946..119d618 100644 --- a/src/Installer/UNIT3D/Unit3dSetup.php +++ b/src/Installer/UNIT3D/Unit3dSetup.php @@ -152,8 +152,8 @@ protected function crons() $install_dir = $this->config->os('install_dir'); $this->process([ - "(crontab -l ; echo \"* * * * * php $install_dir/artisan schedule:run >> /dev/null 2>&1\") | crontab -" + "(crontab -l ; echo \"* * * * * www-data php $install_dir/artisan schedule:run >> /dev/null 2>&1\") | crontab -" ]); } -} \ No newline at end of file +}