Cris
05/06/2020, 5:10 AMsashank
05/06/2020, 1:13 PMCris
05/06/2020, 2:24 PMsashank
05/06/2020, 2:33 PMcrontab -e
), and redirect the output of the command that runs to a file:
For example:
* * * * * ~/dagster/scripts/repo.sched.sh >> ~/log.txt 2>&1 # dagster-schedule: repo.test
We should have automatic reporting of this soon@schedule
, @daily_schedule
, etc), the config returned from that function will be used for the scheduled jobCris
05/06/2020, 2:35 PMsashank
05/06/2020, 2:38 PM@schedule
, @daily_schedule
, etc), the config returned from that function will be used for the scheduled job.
If you want to use a preset, just grab the preset and return the environment_dict of the preset. Also, make sure to set the mode and solid_subset:
@daily_schedule(pipeline_name="my_pipeline", mode=preset.mode, solid_subset=preset.solid_subset):
def my_daily_schedule(_):
return preset.environment_dict
Cris
05/06/2020, 2:40 PMsashank
05/06/2020, 2:41 PMpipeline.get_preset('preset_name')
Cris
05/06/2020, 2:43 PMsashank
05/06/2020, 2:44 PMCris
05/06/2020, 2:45 PMsashank
05/08/2020, 12:37 AMCris
05/08/2020, 1:10 AMsashank
05/08/2020, 1:19 AM