Skip to content

Commit

Permalink
update: cron
Browse files Browse the repository at this point in the history
run the cron as www-data
  • Loading branch information
HDVinnie authored Jul 2, 2020
1 parent 5f6e48e commit 03b00e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Installer/UNIT3D/Unit3dSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 -"
]);
}

}
}

0 comments on commit 03b00e5

Please sign in to comment.