-
Notifications
You must be signed in to change notification settings - Fork 39
Managing Scheduled Plans
gzr plan ls --host=looker.example.com
gzr plan ls --disabled --host=looker.example.com
gzr plan cat PLAN_ID --host=looker.example.com
gzr plan rm PLAN_ID --host=looker.example.com
gzr plan disable PLAN_ID --host=looker.example.com
gzr plan enable PLAN_ID --host=looker.example.com
When importing a scheduled plan, the switches --enable and --disable can be used to force the enabled state of the plan. Otherwise the enabled state will reflect the JSON input file.
gzr plan import PLAN_FILE look LOOK_ID --host=looker.example.com
gzr plan import PLAN_FILE dashboard DASHBOARD_ID --host=looker.example.com
gzr plan runit PLAN_ID --host=looker.example.com
gzr plan failures --host=looker.example.com will list all the plans that have failed in their most recent attempt. The --plain switch can be used to provide the data without extra formatting. Using cut and xargs the plan id can be fed to gzr plan runit so that failed plans can be retried in bulk.