Jump to content

Recommended Posts

Posted

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 ?

Posted
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.

 

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...