AnsweredAssumed Answered

Scheduled script problem

Question asked by raycon on Jul 26, 2014
Latest reply on Jul 26, 2014 by raycon

Hi All,

 

I don't know what I'm missing, but it must be a brain.

 

I have a script which I have simplified for testing like this:

 

  • Go to Layout [ “A” (ATable) ]
  • Go to Record/Request/Page [ First ]
  • Set Variable [ $R; Value:A::Sausages ]
  • Set Field [ A::Sausages; $R + 1 ]

 

This script sits in a normal File, ATable is an ordinary table, and Sausages is an ordinary number field, and Layout A is a simple layout with this field upon it.

 

If i run this script from the File, the expected occurs. Sausages increments by 1 everytime.

 

If I run this script from a server schedule, the admin console reports that it ran okay, no errors, but I still have the same number of sausages in "Sausages".

 

I must therfore assume that It's NOT in fact working.

 

Tearing out what little hair I have left.

 

Can anyone please tell me what I've missed?

 

Ray

Outcomes