File size: 349 Bytes
bea4921 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#!/bin/bash
source_path="/app/teldrive.db"
destination_path="anime2:teldrive/"
# Define the interval in seconds (e.g., 3600 seconds for 1 hour)
interval=1800
while true; do
# Run the rclone copy command
rclone copy --config /app/rclone.conf "$source_path" "$destination_path"
# Sleep for the defined interval
sleep $interval
done |