mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
Oopsie.
This commit is contained in:
parent
347f57fa37
commit
2fc3e6a442
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ function configure_daily_update {
|
||||||
function configure_cron_daily {
|
function configure_cron_daily {
|
||||||
print_info "configuring cron..."
|
print_info "configuring cron..."
|
||||||
# every 10 min for Run.php
|
# every 10 min for Run.php
|
||||||
if [[ ! -z $(grep "/var/www/$install_folder; php Code/Daemon/Run.php" /etc/crontab) ]]
|
if [[ -z $(grep "/var/www/$install_folder; php Code/Daemon/Run.php" /etc/crontab) ]]
|
||||||
then
|
then
|
||||||
echo "*/10 * * * * www-data cd $install_path; php Code/Daemon/Run.php Cron >> /dev/null 2>&1" >> /etc/crontab
|
echo "*/10 * * * * www-data cd $install_path; php Code/Daemon/Run.php Cron >> /dev/null 2>&1" >> /etc/crontab
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue