Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Cron許可設定スクリプト
#!/bin/sh
# Project set for Cloud SDK
PROJECT_ID=YOUR_PROJECT_ID
gcloud config set project $PROJECT_ID
# cron allow
gcloud beta app firewall-rules create 1 \
--action=allow \
--source-range='0.1.0.1' \
--description='default -> deny, cron -> allow'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment