ebgds Posted October 29 Posted October 29 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 ?
wolstech Posted October 31 Posted October 31 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now