help_outline FAQ chevron_right FAQ chevron_right Detail

How can I configure an assistant to run only on weekends (Saturday and Sunday)?

saturday sunday assistant can configure only

Use the query: SELECT CASE WHEN DATENAME(Weekday, GETDATE()) IN ('Saturday', 'Sunday') THEN 1 ELSE 0 END