AnsweredAssumed Answered

Question Regarding IF script step

Question asked by StanW on Mar 31, 2016
Latest reply on Mar 31, 2016 by erolst

Hi

 

I am trying to get a start-up script to automatically run every Monday when a database opens. It seems to me this should work, but MY SCRIPT always runs regardless of the day of the week name. Below is my script. How can I get MY SCRIPT to only run on Mondays?

 

If [DayName ( Get ( CurrentDate ) = "Monday" )]

  Perform Script ["MY SCRIPT"]

End If

 

Thank you.

Outcomes