Skip to content

Commit

Permalink
DOW Sunday
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlan-00 committed Jul 18, 2024
1 parent f151cba commit c4ff382
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 6.4.0/aio/data/bin/ampache_cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ $HOUR = 22 ]]; then
/usr/bin/php /var/www/bin/cli run:updateCatalog -cag
fi
# optimize DB on sunday
if [[ $HOUR = 01 ]] && [[ $DOW = 6 ]]; then
if [[ $HOUR = 01 ]] && [[ $DOW = 7 ]]; then
/usr/bin/php /var/www/bin/cli run:updateCatalog -o
fi

Expand Down
2 changes: 1 addition & 1 deletion 6.4.0/apache/data/bin/ampache_cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ $HOUR = 22 ]]; then
/usr/bin/php /var/www/bin/cli run:updateCatalog -cag
fi
# optimize DB on sunday
if [[ $HOUR = 01 ]] && [[ $DOW = 6 ]]; then
if [[ $HOUR = 01 ]] && [[ $DOW = 7 ]]; then
/usr/bin/php /var/www/bin/cli run:updateCatalog -o
fi

Expand Down
2 changes: 1 addition & 1 deletion 6.5.0/aio/data/bin/ampache_cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ $HOUR = 22 ]]; then
/usr/bin/php /var/www/bin/cli run:updateCatalog -cag
fi
# optimize DB on sunday
if [[ $HOUR = 01 ]] && [[ $DOW = 6 ]]; then
if [[ $HOUR = 01 ]] && [[ $DOW = 7 ]]; then
/usr/bin/php /var/www/bin/cli run:updateCatalog -o
fi

Expand Down
2 changes: 1 addition & 1 deletion 6.5.0/apache/data/bin/ampache_cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ $HOUR = 22 ]]; then
/usr/bin/php /var/www/bin/cli run:updateCatalog -cag
fi
# optimize DB on sunday
if [[ $HOUR = 01 ]] && [[ $DOW = 6 ]]; then
if [[ $HOUR = 01 ]] && [[ $DOW = 7 ]]; then
/usr/bin/php /var/www/bin/cli run:updateCatalog -o
fi

Expand Down
2 changes: 1 addition & 1 deletion data/bin/ampache_cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ $HOUR = 22 ]]; then
/usr/bin/php /var/www/bin/cli run:updateCatalog -cag
fi
# optimize DB on sunday
if [[ $HOUR = 01 ]] && [[ $DOW = 6 ]]; then
if [[ $HOUR = 01 ]] && [[ $DOW = 7 ]]; then
/usr/bin/php /var/www/bin/cli run:updateCatalog -o
fi

Expand Down

0 comments on commit c4ff382

Please sign in to comment.