wjmartin Posted August 7, 2008 Posted August 7, 2008 I have a script that records some information and includes the date (and time) of the recording using 'Insert Current Date". It all works fine when I trigger the script manually. I want to set the server to run the script automatically but I have discovered that when the script is run from the server, the "Insert Current Date" does not work. How can I get a Server Script to record the current date?
Mike Williamson Posted August 7, 2008 Posted August 7, 2008 It works for me. But I use the Get(Current Date) in a set field step. But, be sure to show the "Web Compatible" steps. You may have a illegal step in the script that is stopping its execution.
wjmartin Posted August 7, 2008 Author Posted August 7, 2008 Thanks Mike - I notice "Insert" does not work if you dont have an open layout containing the field, which is the situation with a Server Script. However, "Get" does work in this circumstance. Problem solved - thanks.
Recommended Posts
This topic is 5953 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now