https://dagster.io/ logo
#ask-community
Title
# ask-community
h

Harpal

07/01/2022, 4:50 PM
Hiya Dagsterinos! I love that dagster let’s me run DBT DAGs and save the outputs as .csv files in Google Cloud Storage! Does anyone know how to run this specific type of asset materialisation on a daily basis? I’ve checked the documentation for Schedules but it doesn’t really resemble my code that is using software-defined assets. Is it simply a matter of defining a
ScheduleDefinition
after the
build_job(
command? (See comments for example code) Any tips would be very much appreciated! Thanks in advancedaggy 3d
🌈 1
This code defines my job that runs a DBT DAG and stores the outputs to GCS:
o

owen

07/01/2022, 6:00 PM
hi @Harpal! the object returned by AssetGroup(...).build_job() is a job, so you can indeed define a
ScheduleDefinition(job=metrics_all_assets, ...)
, and go from there
h

Harpal

07/04/2022, 8:12 AM
Thanks for the heads up @owen! Worked like a charm 🎉