mirror of
https://github.com/stronk-dev/RandomChad.git
synced 2025-07-05 02:35:08 +02:00
✨ script update and memory increase for notifier
This commit is contained in:
parent
14006ad38c
commit
be8f0839e4
@ -25,4 +25,4 @@ exports.rinkebyGenerateOutfitsOnQueue = functions.runWith( runtime ).firestore.d
|
||||
// Daemons
|
||||
// /////////////////////////////*/
|
||||
const { notify_holders_of_changing_room_updates } = require( './integrations/changingroom' )
|
||||
exports.notify_holders_of_changing_room_updates = functions.pubsub.schedule( '0 0 * * *' ).onRun( notify_holders_of_changing_room_updates )
|
||||
exports.notify_holders_of_changing_room_updates = functions.runWith( runtime ).pubsub.schedule( '0 0 * * *' ).onRun( notify_holders_of_changing_room_updates )
|
@ -8,7 +8,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"backup": "zsh ./scripts/backup-images.zsh"
|
||||
"backup": "caffeinate zsh ./scripts/backup-images.zsh"
|
||||
},
|
||||
"author": "Mentor Palokaj <mentor@palokaj.co> (http://github.com/actuallymentor)",
|
||||
"license": "MIT",
|
||||
|
@ -3,12 +3,14 @@
|
||||
## I intend to make this an online thing
|
||||
## But the storage cost is a bit expensive
|
||||
## ###############
|
||||
brew update
|
||||
brew install pigz
|
||||
timestamp=$( date )
|
||||
cd .backups && \
|
||||
gcloud config set project rocketeer-nft && \
|
||||
gsutil -m cp -r gs://rocketeer-nft.appspot.com/mainnetRocketeers/ ./rocketeer-image-backups/ && \
|
||||
tar -cv rocketeer-image-backups | gzip -9 > rocketeer-backup-$timestamp.tar.gz && \
|
||||
mv rocketeer-backup-$timestamp.tar.gz ~/Google\ Drive/Backup/Rocketeers/
|
||||
echo "✅ success" || echo "🛑 fail"
|
||||
tar -cv rocketeer-image-backups | pigz -9 > rocketeer-backup-$timestamp.tar.gz && \
|
||||
cp rocketeer-backup-$timestamp.tar.gz ~/Google\ Drive/My\ Drive/Backup/Rocketeers/ && \
|
||||
echo "✅ $(date) success" || echo "🛑 $(date) fail"
|
||||
|
||||
say "Backup process done"
|
||||
|
Loading…
x
Reference in New Issue
Block a user