• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 55
  • Last Modified:

looking for Scheduled Task UI Ideas

Hello Experts,

I am looking for some examples/ideas to build a Scheduled Task UI web based for a client in C# .net.
I will be using Windows Task Scheduler to run a console app which will look for the schedule in DB.

Let me know if I am thinking in a right direction.
0
Dan Schimo
Asked:
Dan Schimo
  • 2
  • 2
  • 2
  • +2
2 Solutions
 
CamilliaCommented:
I've used by Éric Moreau a lot. Not web based but works great. I converted the code to C# to use.


http://www.emoreau.com/Entries/Articles/2004/08/Interfacing-the-Windows-Task-Scheduler.aspx
0
 
Éric MoreauSenior .Net ConsultantCommented:
not sure that my article linked by Camillia will be helpful. Web apps normally don't have access to internal services like the scheduler.
0
 
Dan SchimoAnalystAuthor Commented:
Thanks for that comment, Eric.

My UI should create data entries for the scheduler in DB, that's it. Rest is done by the console app which will be triggered by Windows Task Scheduler.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
Éric MoreauSenior .Net ConsultantCommented:
but if your UI is web, I doubt you will be able to interact with the local scheduler. that would be  nightmare for security!
0
 
CamilliaCommented:
Yeah, I mentioned it's not a web application.
0
 
Dan SchimoAnalystAuthor Commented:
These are predefined jobs to run on schedule, the user can change only the schedule.
0
 
it_saigeDeveloperCommented:
If the user has authority to change the settings, then in order to provide them access, you should be able to use Windows Authentication.  If the user in question is accessing the site from a domain controlled machine, then you can just pass their credentials through and use quasi SSO:

https://forums.asp.net/t/1619756.aspx?Need+Help+Configuring+Pass+Thru+Authentication+ASP+NET+4+0+IIS+7+5+SQL+2008+R2+

With the correct user credentials then you should be able to interface with Windows Task Manager.

Another option, might be using something like Quartz.NET.

-saige-
0
 
Jeremy RodaleCommented:
You can try to find the necessary information at https://assignment.essayshark.com/graphic-design-help.html since here graphic design assignments are being fulfilled and there are examples of such works in the blog. I think this example can help you in creating this UI. Here are a couple of links that you might be interested in:

https://serverfault.com/questions/101671/scheduled-tasks-w-gui-issue
https://stackoverflow.com/questions/396099/how-to-launch-windows-scheduler-by-command-line
0

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 2
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now