• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Scheduled task permanent for Website

Techtoox

New Pleskian
Hi Guys,

I have a question about a script (The script was included in a HTML file) that I have to run permanently on the Plesk server.

I have to set up an HTML file, i.e. a website that stays open permanently. It is roughly as if the Plesk server has the website open all the time, even if I am not on the site myself with my browser. The Plesk server should always have the homepage open.


The reason for this is an internal company test due to load access times and more .... So we have to simulate that the page is always open and stays open.

Is there a solution for this?
 
There is no such thing like "always open" pages. A page is a piece of text that is downloaded by the browser. The transaction is the download and maybe some script execution on the server, but once the page is downloaded, the process ends and there is no connection to the server.

I think what you want to do is to either dynamically reload data from the server, e.g. by using a JavaScript timeout function in the context of AJAX requests to the server and a script on the backend that delivers the desired data. But that's a software programming task that is totally unrelated to the server or Plesk.
 
Back
Top