ebgds Posted October 29, 2024 Posted October 29, 2024 I tested my *.py script (under cgi-bin) with Scheduled Task in "fetch a URL" mode, with a link this this https://site.org/cgi-bin/test.py On my PC it takes 2 mn, and I get error 504 Gateway Time-out on Heliohost I can't cut the script in pieces, without deeply rearrange the code. I thing the Apache max time is about 60 sec, right ? * Is there a way to extend a little longer the Apache max time when the link is related to the Schedule Tasks ? * Or is there another way ? Quote
wolstech Posted October 31, 2024 Posted October 31, 2024 Quote I can't cut the script in pieces, without deeply rearrange the code. If you want to run it through Apache via URL call, you'll need to rewrite it if it takes longer than 60 seconds to run. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.