AnsweredAssumed Answered

FMS Scheduled script kept running for a week.

Question asked by oak on Apr 30, 2018
Latest reply on May 1, 2018 by beverly

I run a scheduled script ever 15  minutes (FMS16 ) that finds records of users who need to be notified. It run fine for months, but last week it hang for a week till I restarted the FM script engine.


Log: Schedule "cron" scripting error (401) at "filename : Cron :31 perform find" .


Indeed line 31 does a Perform find.



Go to layout

Error capture on

Enter find mode

Set a bunch of fields

new record request

Set more fields

Perform Find  < --- line 31 error 401 No records match the request

if get (foundCount) = 0

Exit Script []

end if



Any wild idea why this would hang?