Compare commits
2 Commits
0ea2271823
...
8dee89a0d0
| Author | SHA1 | Date | |
|---|---|---|---|
| 8dee89a0d0 | |||
| ef148d73c5 |
@@ -155,6 +155,11 @@ fi
|
|||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
|
if [ "${bootstrap_only:-no}" = "yes" ]; then
|
||||||
|
echo "Bootstrap mode enabled, skipping xTeVe/Emby/Plex/Channels API updates."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# update xteve via API
|
# update xteve via API
|
||||||
if [ "$use_xTeveAPI" = "yes" ]; then
|
if [ "$use_xTeveAPI" = "yes" ]; then
|
||||||
if xteve_internal_update_due_now; then
|
if xteve_internal_update_due_now; then
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
/cronjob.sh
|
bootstrap_only=yes /cronjob.sh
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ if [ -f "$CRON_FILE" ]; then
|
|||||||
. $CRON_FILE
|
. $CRON_FILE
|
||||||
else
|
else
|
||||||
echo "[crond-setup] No cron definition found..."
|
echo "[crond-setup] No cron definition found..."
|
||||||
echo "[crond-setup] By default, cronjob will run every night at midnight unless cron file is configured."
|
echo "[crond-setup] By default, cronjob will run hourly at minute 5 unless cron file is configured."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
crond -f
|
crond -f
|
||||||
|
|||||||
Reference in New Issue
Block a user