Anaplan Connect Export stops writing after 30 minutes.
Hi,
I have set up export connection to a SQL database. I have 1 connection that takes longer than 30 min to be completed. I have scheduled this one to run overnight. Each time this export is run, it seems that it's timing out exactly after 30 minutes but without a logged timeout error message. See error log (I scheduled this one as an example at 11:30):
I have read similar topics here. Like this one:
I then added -maxretrycount -retrytimeout to my operation:
Operation=-service "https://api.anaplan.com" -auth "https://auth.anaplan.com" -debug -service %ServiceUrl% -auth %AuthUrl% -via %Proxy% -workspace %WorkspaceId% -model %ModelId% -export %ExportName% -maxretrycount %MRC% -retrytimeout %RTO% -execute -jdbcproperties %JdbcPropFilePath%
Chunksize=20
MRC=15
RTO=60
This doesn't seem to help. Still stops writing after 30 min.
Note: Doesn't timeout when triggered manually. Only if scheduled.
Thanks in advance!
Best Answer
-
Hi,
Do you have timeout set to 30mins in your Windows Task Scheduler Schedule?0
Answers
-
Hi,
Thanks for the quick response. Task Scheduler timeout is set to 1 hour so this should not be the case.
0 -
Could you try what happens if you untick that box completely?
0 -
I went to the task scheduler trigger. There I looked into the properties » Trigger » Edit. There is another tab where 'Stop task if runs longer than' is displayed. There it was set to 30 min. Changed it to 1 hour and this solved the issue. Many thank @pyrypeura !
0 -
Happy to hear you got this solved!
1