suppress background task output in development

This commit is contained in:
Luna D. 2024-07-03 21:32:38 +02:00
parent 01da4f4fdb
commit 1795e98915
No known key found for this signature in database
GPG key ID: 4B1C63448394F688

View file

@ -15,11 +15,11 @@ export CARGO_HOME=/srv/philomena/.cargo
background() { background() {
while :; do while :; do
mix run -e 'Philomena.Release.update_channels()' mix run -e 'Philomena.Release.update_channels()' > /dev/null
mix run -e 'Philomena.Release.verify_artist_links()' mix run -e 'Philomena.Release.verify_artist_links()' > /dev/null
mix run -e 'Philomena.Release.update_stats()' mix run -e 'Philomena.Release.update_stats()' > /dev/null
mix run -e 'Philomena.Release.clean_moderation_logs()' mix run -e 'Philomena.Release.clean_moderation_logs()' > /dev/null
mix run -e 'Philomena.Release.generate_autocomplete()' mix run -e 'Philomena.Release.generate_autocomplete()' > /dev/null
sleep 300 sleep 300
done done