Cavan Vannice
04/05/2023, 2:25 PMtask( "Warehouse: Tracking Numbers" )
.call( ()=>getInstance( "tasks.warehouse_tasks" ).tracking_emails() )
.everyDayAt( "16:30" )
.everyDayAt( "17:00" )
.everyDayAt( "18:30" )
.everyDayAt( "19:00" )
.onEnvironment( [ "production" ] );
Dave Merrill
04/05/2023, 3:16 PMCavan Vannice
04/05/2023, 3:18 PMCavan Vannice
04/05/2023, 3:20 PMCavan Vannice
04/05/2023, 3:22 PM.everyDay(30,14:00,18:00)
Dave Merrill
04/05/2023, 3:32 PMCavan Vannice
04/05/2023, 4:10 PMelpete
04/05/2023, 7:46 PMeveryDayAt
overrides the previous one. These are based off of Java’s ScheduledExecutorService
which only give us the option to do 3 types of tasks: 1) one-offs, 2) one-off with a delay, and 3) fixed rate with initial delay. Since your pattern doesn’t nicely fall into these, I’d register four separate tasks.elpete
04/05/2023, 7:46 PM