Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7909769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T12:35:28+00:00 2026-06-03T12:35:28+00:00

I am using shared hosting on Windows. I need to run some code that

  • 0

I am using shared hosting on Windows. I need to run some code that will basically just hit a URL on my .NET site once a day.

I’m using Plesk. I have seen that I can create scheduled tasks in Plesk, but when I asked my hosting service provider they said I can only execute PHP or Perl scripts (and not Windows executables).

I have zero experience in PHP and Perl. How can I do this using either Perl or PHP? Are there any gotchas? Do i need to set anything else up on my server to run these scripts, or is it just a case of dropping these .php or .perl files somewhere?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T12:35:29+00:00Added an answer on June 3, 2026 at 12:35 pm
    <?php
    
      file_get_contents('http://yoururl.com');
      exit();
    
    ?>
    

    That will make a request to 'http://yoururl.com'. If you are not concerned with the response then this is the way to go. All you have to make sure is that your server can execute php code – I think it’s pretty safe to say that most servers today are able to do that. Especially if its shared hosting.

    You can place this in a cron job though your plesk control panel.

    If you are allowed to execute system processes, you might also be able to get away with placing this command as the cronjob :

    wget -O - 'http://yoururl.com'
    

    From the wget man pages –

    Wget – The non-interactive network downloader.
    Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to design a windows application that will reside within an organization's intranet.
I am using a shared windows hosting in which sending 120 mails/hour is allowed
I purchased a Windows shared hosting account on godaddy that came with 2 MSSQL
I just purchased an unlimited shared hosting windows account on godaddy with 2 databases
Is there any disadvantage on using shared hosting in general (of discountasp.net) for an
I am using shared hosting with IIS7 and support for PHP. I am trying
I am using the ssl_requirements plugin on shared hosting account. This hosting provider uses
I know that I can share files using Shared Folders in Virtual PC, but
Today we're using a shared SQL Server database and that is perfect as I
I compiled the following code as a shared library using g++ -shared ... :

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.