Jump to content

504 during python script through a cgi link


ebgds

Recommended Posts

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 ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...