SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix outdated cron job scripts
Chris Lubf5b795717f4
diff --git a/docker/entrypoint.sh b/docker/entrypoint.shindex 5a858d993b..a5a2405754 100755--- a/docker/entrypoint.sh+++ b/docker/entrypoint.sh@@ -60,9 +60,9 @@ case "$1" in'cronjob')MASTER=${WEED_MASTER-localhost:9333}FIX_REPLICATION_CRON_SCHEDULE=${CRON_SCHEDULE-*/7 * * * * *}- echo "$FIX_REPLICATION_CRON_SCHEDULE" 'echo "volume.fix.replication" | weed shell -master='$MASTER > /crontab+ echo "$FIX_REPLICATION_CRON_SCHEDULE" 'echo "lock; volume.fix.replication; unlock" | weed shell -master='$MASTER > /crontabBALANCING_CRON_SCHEDULE=${CRON_SCHEDULE-25 * * * * *}- echo "$BALANCING_CRON_SCHEDULE" 'echo "volume.balance -c ALL -force" | weed shell -master='$MASTER >> /crontab+ echo "$BALANCING_CRON_SCHEDULE" 'echo "lock; volume.balance -collection ALL_COLLECTIONS -force; unlock" | weed shell -master='$MASTER >> /crontabecho "Running Crontab:"cat /crontabexec supercronic /crontab