Hello everyone,
I'm trying to import multiple files thanks to a reccuring task but the task gets stuck after the 1rst import.
Here is the import part of the script I made for my task:
Call LISFIC(YOS,YMACHINE,YDOSFIC,YNBRFIC,YLISTFIC) From SELFICREP If !GSERVEUR Call OUVRE_TRACE("test") From LECFIC Endif For YI= 0 To YNBRFIC-1 YFIC =YLISTFIC(YI) If YFIC <> "ignorethis.txt" Then Call IMPORTSIL("ZTEST",YDOSFIC+YFIC)from GIMPOBJ Endif Next If !GSERVEUR Call FERME_TRACE From LECFIC Endif
When I run it throught the script editor everything is fine, all my files are imported.
But as soon as it is run from a task (batch server) it gets stuck after the 1rst import.
I really don't understand why.
Thanks for your help