Execute Code In Scheduled Task Of Windows?
May 28, 2010How to execute asp.NET code in scheduled task of windows?
View 5 RepliesHow to execute asp.NET code in scheduled task of windows?
View 5 RepliesHow can I add a Task in Windows Scheduled Tasks using Asp.Net.
I have a windows shared hosting and i need to run some scheduled c# executable every day for create sitemap, send newsletter,etc...The provider tell me that i can't run executable for security reason.Whay can i do?The provider suggest me to buy a VPS, but do not think it makes sense to spend more money just to run some scheduled task.
View 3 RepliesI have a asp.net web site, I would like a page on that site to be able to invoke a Windows Scheduled task or a batch file on a server different to the IIS server?
Is it possible?
Im about to develop a site which will need 2 types of email function: the first will be simple enough, just a realtime email using system.net.mail when certain conditions are met in the underlying DB. the second is to send out an email at the end of each day covering everything that happened during the day. WOuld that have to be set up as a scheduled task?
View 3 Repliesi bought a hosting plan that allows me to send about 500email/per hour but my client wish to send about 2000 or 3000 email at a time. is there a way to split them and 500 email per a time automaticly without the need of reloging again every hour. my hosting plan doesn't allow me to create a sql jop or send mails via Sql Server.
View 6 RepliesI am creating a feature which will allow users to import data of excel sheet to database.First, data will be imported from excel sheet and will be displayed in a tabular format.User performs a mapping porcess for database fields and click Submit button.Then a stored procedure inserts all the data of each row into more than 15 tables.
Above mentioned process might cause an issue if users import more than 1000 records (they are definitely going to do that. Thats why this entire functionality is intended for).Basically, what I would like to do is, Insert all the rows to a single table (Temp table), have a cloumn in a table which will be a flag and initially, will be set to "Pending".Create a page which will be executed when there are less users accessing the system (Specific time),
This page will see if there are records in a temp table with FLAG "Pending". If yes then it will fetch one record from the table and will insert data of first row into all the necessary tables. After first transaction it will wait for some time and will fetch the second record....This will last until the final row of temp table is reached.
How to run scheduled jobs from ASP.NET without requiring a Windows Service to be installed on the server?
View 1 RepliesIf I enable Anonymous in IIS under windows 2003, the ASP.NET will execute code under IUSR_XXX or account of application pool?
View 3 RepliesWhat are the steps to execute the task above? the reason I want to do that now is because the web site is ready for deployment and
we would like to deliver it as a DLL. I've heard of [aspnet_merge.exe] but I want to ofuscate my code with a 3rd party tool; and this ofuscator tool only works with Project-based projects.
my task run only in windows explorer brower.. that not working in mozilla firebox.
View 6 RepliesI have some code written in a method of an aspx page which I would also like to run as scheduled job on my in Windows Server 2008. How do I accomplish this?
View 5 RepliesI need to schedule a task in my system with windows task scheduler and vbscript(or js also).
I want to send an http request for an aspx page in my project fom the vbscript file .This aspx page contains some database related operations.
That means when the task scheduler is started it should update my project db.
I got this link for reference
[URL]
But it is not working for me.
Can i use javascript instead of vb script?
My project is in C# and backend is sql server express 2008
Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?
A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set the default volume level.
I'm trying to understand how to execute AJAX animation on an asp button that has to execute code on Postback. In other words, I have button with code behind that needs to be excuted, but at the same time want to be able to have one of animation extenders be applied to it. I understand that I need to use the BeginRequest Event, I'm just not sure how, or which javascript commands to use to call the ajax animation so the postback will still occur.
View 5 RepliesNeed a way to write in c# something that we can query access database and send out individual emails using 3 seperate templates based on the users selection. basically users have been signing up to receive an email later in the year.. there are 3 possible email templates that are designed and will be sent based on what the user selected. So when the time comes, we need to take and query the access database and send an email to the user with the template they picked.
I see alot of software packages, but cost more than what we can spend(no budget), so we need something simple and free that can be scheduled to send on certain day and time. Or if there are any tutorials on creating something to do this, doesnt need to be fancy
i want to develop a custom scheduler using asp.net C# to invoke the Task scheduler in windows. I want to create a windows form application to simulate windows scheduler.What should i know before i start this project. I have enough experience on asp.net, C# but not on the web service, scheduling side.
View 4 RepliesI have a web app that needs to do two things at the same time. After a user clicks a button on the site, a javascript function needs to execute and while thats working I need the server side code for the button click to execute without waiting on the client side to finish.
To be more specific, the client side function takes about 23 seconds to complete, and while that is running the server side code promts the user for printing a document. So I need the javascript to run "in the background".
i have made one web site which is generating screensaver(MSI) dynamically.So to generate the MSI file i have to build a WIX project.So i executed using batch file which will use MSBuild.exe and cmd prompt. so its gave me an error "Access is Denied". i have also tried by making a windiws service but still the same error occurs.
View 1 RepliesI want to execute my asp.net application where Windows XP Service Pack 3 is installed + VS 4.0 framework is installed and IIS 5.1 is installed. The program is not running yet. It shows me an erro message that "Server is unavailable" Is it possible to run the application on this machine. I also tried aspnet_regiis -i and -c command
View 3 RepliesI want to execute some powershell commands on a remote windows 2008 machine. Right now i am using psexec to run the powershell from c# asp.net application. I would like to know is there any way to execute powershell commands without using a third party tool like psexec?
View 1 RepliesI have ASP code in asp page. I want to run the the asp code (preferable) from my asp.net page using vb.net or execute the asp page from my asp.net page using vb.net on page load_event.
View 4 RepliesExecute javascript in code behind? can i call javascript like this
For i
As
Integer = 0
To 10
'call javascript code
Next
Basically i have two asp.net buttons on my asp.net page as follow:
[Code]....
and this is the code behand fo btnSave onclick event:
[Code]....
and this is the code behand of btnPreviwe onclick event:
[Code]....
as you can see, when the btnSave is clicked, it is programmatically clikced the btnPrevew first, and btnPreview registers and fires the required JavaScript. But actually once the btnSave clicked, it does go to the btnPreview_OnClick event, but for some unknow reasons, the javascript in btnPreview_OnClick doesnt work, however, when i just put cstext2.Append("alert('hi')" instead of cstext2.Append("'SaveSignature()'", the javascript does executed, and also if i modifed the asp.net code for btnPreview to this, it works too.
[Code]....
I use a js function in a source page as below
<a href="javascript:;" onclick="openwin('Sample.aspx?DID=<%#Eval("UID") %>', '', '700','300','yes'); return false ">
I need to excute this function from vb.net code behind page .