Skip to content

Schedule

Source: src/AWS/DataBrew/Schedule.ts

An AWS Glue DataBrew schedule — a cron expression that starts one or more DataBrew jobs at recurring times. The schedule definition is free; only the job runs it triggers are billed.

Nightly Job Schedule

import * as AWS from "alchemy/AWS";
const schedule = yield* AWS.DataBrew.Schedule("Nightly", {
cronExpression: "cron(0 3 * * ? *)",
jobNames: [job.jobName],
});

Schedule Without Jobs (attach later)

const schedule = yield* AWS.DataBrew.Schedule("Standing", {
cronExpression: "cron(0 12 ? * MON-FRI *)",
});