Click here to Skip to main content
15,921,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Developers,

I have an Action Method in my MVC application, I want the code inside this method to be scheduled on Arvixe. I have scheduled it but the code seems not to be working and having bugs, I cannot run the scheduler again and again from the Arvixe to check the response.
So my question here is that , How can i scheduled that Action method on localhost(IIS) and can see the response?


Any response would be appreciable.

Thanks,
Sumit

What I have tried:

I have browsed a lot but couldn't find the thing i am looking for.
Posted
Updated 15-Sep-16 6:11am

1 solution

When you scheduled it on Arvixe I assume you followed this: How to Use Schedule Task in DotNetPanel to Execute a URL | Arvixe Blog[^] - I use the same thing to run a couple of tasks and it all runs fine.

But the scheduling of the task is irrelevant - all it does is causes the app to be run at a specific time, so it's the same as running an aspx file locally on your PC. So just open the ASPX file in VS and execute it. It'll load in your default browser and run as normal. The debugger will be attached and it'll run.
 
Share this answer
 
Comments
Sumit Bhargav 15-Sep-16 12:33pm    
Hi OriginalGriff,
Thanks for the response.

But i would like to mention here that i don't have an authority to do this, This is the kind of requirement and i believe its a normal requirement.
Like i said, I have scheduled it but something seems not to be working fine.
So if there is any possible way?
OriginalGriff 15-Sep-16 13:58pm    
You don't have the authority to do what?
Sumit Bhargav 18-Sep-16 12:33pm    
i cannot run the code myself everyday, the project is about to finish and after the final delivery i wont be working on it anymore so it must work.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900