Hello,
I am trying to create an IF condition inside an automation that pauses for 30 seconds on weekdays and 2 hrs on weekends. Can someone help me with this?
Hello,
I am trying to create an IF condition inside an automation that pauses for 30 seconds on weekdays and 2 hrs on weekends. Can someone help me with this?
You can do this a number of ways but the most generic I know of is:
Update the SQL to: select weekday(date())
1 = Sunday & 7 = Saturday
#Execute_1_SQL# >1 and #Execute_1_SQL# < 7 ~ WEEKDAY
#Execute_1_SQL#= 1 or #Execute_1_SQL# = 7 ~ WEEKEND
Dave, this worked on the first try!
thanks so much for the help, this will cut out some time working on the weekend