dt job cron
Overview
Print the cron string generated from the given schedule options
Synopsis
dt job cron [OPTIONS]
Options
-
-m,--at-minutes=<at-minutes>
Comma separated list of minutes like '15,40,45' -
-M,--every-minute=<every-minute>
Numerical minute value like 15 meaning 'every 15 minutes' -
-a,--at-hours=<at-hours>
Comma separated list of hours like '10,12,22' -
-H,--every-hour=<every-hour>
Numerical hour value like 3 meaning 'every third hour' -
-w,--weekdays=<weekdays>
Comma separated list of weekdays like 'Mon,Wed,Fri' -
-d,--day-of-month=<day-of-month>
Day of the month to run between 1-31 -
-i,--in-month=<in-month>
Comma separated list of months names like 'Jan,Mar,Dec' -
-e,--every-month=<every-month>
Numerical month value like 2 meaning 'every second month'
Examples
Every day at 10:15 and 22:15
dt job cron --at-hours 10,22 --at-minutes 15
Every 15 minutes on Mondays and Fridays
dt job cron --every-minute 15 --weekdays Mon,Fri
SEE ALSO
← Back to dt job