A script to refresh channels on a Piped instance (https://github.com/TeamPiped/Piped) built from Alpine Linux and updated automatically.
Original script from TeamPiped/Piped#1130 (comment) .
To configure, set the following environment variables to appropriate values:
CRON_SCHEDULE=0 * * * *
POSTGRES_HOST=localhost
POSTGRES_DB=piped
POSTGRES_USER=piped
POSTGRES_PASSWORD=somesecretpassword
PIPEDAPI=http://localhost:81
PIPEDAPI should be set to your backend server.