run autoimport via cron
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Lukáš Kucharczyk 2023-01-11 17:34:55 +01:00
parent 4ffb62ab34
commit 4cd24b9618
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#!/bin/bash
beet import --quiet --log=/downloads/autoimport.log /downloads/autoimport
curl -d "Running music autoimport" https://notify.kucharczyk.xyz/NAS

5
etc/services.d/crond/run Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/with-contenv bash
umask 022
exec \
s6-setuidgid abc crond -l 2 -f