ebgds Posted Tuesday at 05:57 PM Share Posted Tuesday at 05:57 PM 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 Link to comment Share on other sites More sharing options...
wolstech Posted 14 hours ago Share Posted 14 hours ago 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 Link to comment Share on other sites More sharing options...
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.