infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
ftp protocol problem
david_barr
We're having a problem with an inbound FTP thread. First of all, there was a bug which we are working around in QDX 5.2.1P2. If there are no files in the directory that we are downloading from, some FTP servers give a response that puts the thread in an error state. To work around this problem, we put a file called "DUMMY" on the ftp server, and we have our Directory Parse TPS filter this out of the list of files so that we never download it, so we never see an empty directory.
We have the thread set up to use advanced scheduling with a schedule of "* 00,30 5-12 * * 1-5" so that we are checking for files at half-hour intervals from 5am until 12pm from Monday through Friday. The problem is that when it comes time to read the files, the thread retries extremely rapidly. It keeps trying with almost no pause from 9:00:00 (for example) until 9:00:59. I've seen it scanning the FTP server 36 times in the same minute.
This seems really inefficient to me. We just want to check for the file once every thirty minutes. What is the correct way to set this up? I don't know if our kludge to deal with the empty directory problem is causing this second problem.
Thanks,
David
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Bill Bertera
I ran into this also. You have to put 0, or another value, in the seconds field, otherwise it tries every available second - *.
david_barr
I thought about trying that. My concern was that if I do that, it might not run at all. If I only specify one second in the seconds field, is it guaranteed to run at least once?
System
Originally posted by Bill Bertera
It always has for me. the reason you see it "only" 36 times a minute, is that it doesn't kick off when its already running. So it kicks off at .00, runs for 2 seconds, and kicks off again at .03, etc... So, as long as it's still not running from the prior 30 minutes instance, it will always run at 0 seconds.