Skip to content

Commit 3352f5f

Browse files
authored
Update README.md
1 parent 43deb61 commit 3352f5f

File tree

1 file changed

+7
-0
lines changed
  • Server-Side Components/Background Scripts/Execute Logic on Weekdays

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
Script that checks today is weekday and then execute further logic inside if block.
2+
This script can also be used in 'Condition' part of Scheduled job, with an answer variable.
3+
4+
var answer = false;
5+
Code snippet{ inside if condition, set answer = true; }
6+
answer;
7+
8+
This will ensure Scheduled Script only executes on Weekdays.

0 commit comments

Comments
 (0)