Automated publication of content to the Shift storage cluster
Actions:
- Check status
- Download
- Encrypt (optionally)
- Upload (+ pin)
- Publish (if needed)
- Generate and broadcast a pin transaction
- Request at random peers (create cache)
- Collectively pin at Phoenix
This script is designed to be executed as cron task.
First make the script executable:
chmod +x publish.sh
Then add this to your crontab to run it every hour:
1 * * * * sudo /home/user/auto-publish/publish.sh > /home/user/auto-publish/cron.log 2>&1