title: Scheduling Tasks in GoDaddy windows shared hosting
body: <p>I am trying to create a scheduled task in GoDaddy windows shared hosting account. I have some logic in my .Net C# class project where I have to call a function on daily basis. I have tried by converting it to an executable(.exe) and configured in godaddy as per </p>
  
  <p><a href="https://in.godaddy.com/help/scheduling-tasks-with-plesk-shared-hosting-8970" rel="nofollow noreferrer">https://in.godaddy.com/help/scheduling-tasks-with-plesk-shared-hosting-8970</a></p>
  
  <p>But that doesn't work for an .exe. </p>
  
  <p>Eventually I have tried calling that function from an aspx by referencing the class project in the WebApp (because that's what the URL suggests). Now I am blocked with some error which says Exception calling "DownloadString" with "1" argument(s): "URI formats are not supported."</p>
  
  <p>Looks like I am doing something wrong while configuring my aspx.</p>
  
  <p>These are my configuration details:</p>
  
  <p>Path to an executable file: </p>
  
  <blockquote>
    <p>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe</p>
  </blockquote>
  
  <p>Arguments: </p>
  
  <blockquote>
    <p>-c "(new-object system.net.webclient).downloadstring('<a href="http://DOMAIN_NAME.in" rel="nofollow noreferrer">http://DOMAIN_NAME.in</a>\SOME_FOLDER\Default.aspx')"</p>
  </blockquote>
  
  <p>Called up GoDaddy folks to provide a sample, But they said they do not any sample for the same (very irritating).</p>
  
  <p>Can Someone help me with this?</p>