• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Using wget on local web site as scheduled task

AdamJohn

New Pleskian
Hi,

I am trying to configure cron job that will call a web page (PHP service) that belongs to locally hosted site.

When I try to use:
Code:
wget -qO- <myURL>
I get the default page:
Code:
<html>
<head>
</head>
<title></title>
<body bgcolor=#FFFFFF text=#001C66>

<table width="100%" border="0">
   <tr>
    <td><img src="img/construction.gif" alt="under construction"></td>
    <td valign="bottom"><font size="+2" face="verdana,arial,helvetica,sans-serif">
This domain has just been registered for one of our customers!</font><br>
<font face="verdana,arial,helvetica,sans-serif">
Domain registration and webhosting at best prices.</font><br>
  </tr>
    <tr>
    <td>&nbsp;</td>
    <td align="center">
   </td>
</td>

  </tr>
</table>

</body>
</html>
From any other machine it works fine. I would appreciate if anyone could point me in the right direction.

Regards
 
Is that page one of those pages in that domain's httpdocs folder or it's the default plesk's 'non existent' domain parking page?
 
Thank you for the reply. I managed to solve the problem by editing hosts file. It seems that 1and1 adds default-domain.com into the hosts file during OS installation.

Regards
 
Back
Top