AnsweredAssumed Answered

PSoS script parameters

Question asked by andresen on Oct 9, 2017
Latest reply on Oct 10, 2017 by kamar

The server runs a script. In the script I have started it with:

If  {DayName ( Get(Scriptparameter )) = "Saturday"  or "Sunday"}

Cancel script

End If

 

And the script parameter on server is: Get(CurrentDate)

 

The context is that I want this script to run only on workdays (Monday-Friday)

I don't succeed in this, something is wrong. What?

The script runs every day!

Outcomes