In answer to the first part of your question.

If you open the script in scriptmaker, there is a little check box in
the bottom left corner "indicate web compatibility" tick this and any
web script steps turn grey, both in the list of script steps AND in your
script.

So you do have to open each script, but you can then do a quick visual
check. 

Forbes


________________________________________
From: FileMaker Pro Discussions [mailto:[EMAIL PROTECTED]
On Behalf Of Brad Lowry
Sent: 26 June 2008 11:53
To: [email protected]
Subject: Server Run Scripts...

Hi All,

This should be an easy question, and apologies if this is an easily
answered question answered in the books/documentation -- I have looked,
but even so, I have a hunch that it is right there and I have somehow
overlooked it.

Anyway, the new great feature that I can schedule an actual ScriptMaker
script to run on the Server has a caveat: only scripts that contain only
web-compatible script steps will work.

Now I have whole series of overnight scripts triggered by Scheduled
Tasks (yes, windows) that I would *gladly* hand over to the server.

But some of these are pretty involved and I haven't really looked
under-the-hood in years. They do what they do, and at the time I first
scheduled them, I was sufficiently convinced that they do it correctly.

So is there a FileMaker gizmo that will tell me if a script is wholly
web-compatible without going to the individual script step help page for
each script in my scripts? Perhaps there is something in the debugging
features that allows me to see the web compatability of each step as I
step-through. If I run a DDR, will that tell me?

Also, what is the behavior when you ask FileMaker Server to run a script
containing non-web-compatible script steps?
a) evaluate this as an initialization step and just not run the script
completely
b) run the script and halt/hang when it encounters the
non-web-compatible steps
c) run the script and skip over the non-web-compatible (and it is up me
to determine if this is sufficient and by context whether this is "safe"
or not)
d) a variation of answer b) but it acts like c) if you turn error
capture ON
e) the conflict will make the server crash and data loss is likely
f) ...?

Okay, I have enough confidence in FileMaker to believe that it is not
f), but it could be b) and that is pretty bad and even if it is the d)
variation of b) it is pretty annoying.

My hope is that it is a) with some log that tells me what needs fixing
or b)-d) so that I can run them and gather the problems on purpose. 

Also, does anyone know whether Server prevents these scripts from
clobbering into one another or not?

So if I ran, "Clinic Refresh Script" at 1:00am and "Academic Refresh
Script" at 1:15am and then in a few months it turned out that "Clinic
Refresh Script" took 20 minutes to run, what would happen? 
a) the two could run concurrently without any ostensible conflict (that
is assuming no record ownership conflicts)
b) the "Academic Refresh Script" will be placed "on the queue" at 1:15am
and run whenever Server is freed from "Clinic Refresh Script"
c) the "Academic Refresh Script" will run at 1:15am but the the "Clinic
Refresh Script" will be interrupted and halted at whatever point it was
at at 1:15am
d) the "Academic Refresh Script" will not run
e) the conflict will make the server crash and data loss is likely
f)...?

Again, I have enough confidence in FileMaker to assume neither c) or e)
will happen, but the others are possible. My assumption would be a) or
b) -- but when you assume you make an...

Of course, I could write my "Super Overnight Script" where essentially I
would queue all of the scripts that need to run as called scripts in the
super script. However, if I could depend on FileMaker Server doing this
for me on the fly in a "safe" manner that is one bit of
"inter-application" management that I don't have to expose to the
possibility of my own human error. 

Thanks in advance.

-- 
Sincerely,
Brad 

--
********************************************************************************

The information in this email and any files transmitted with it is confidential 
and may be legally privileged.  It is intended solely for the addressee and 
others authorised to receive it.

If you are not the intended recipient,, any disclosure, copying, distribution or
action taken in reliance on its contents is prohibited and may be unlawful.

Prospects Services Limited is a limited company registered in England and Wales.

Reg No: 3042176
Registered Office: Prospects House, 19 Elmfield Road, Bromley, BR1 1LT.

If you have received this email in error please notify: 

[EMAIL PROTECTED]

http://www.prospects.co.uk

This footnote also confirms that this email message has been swept for the
presence of computer viruses

********************************************************************************

Reply via email to