Is it possible to run (on demand), not schedule, a simple task that has already been scheduled under Windows Task Scheduler, through a web interface?

Any suggestions are appreciated.

Thank you

Info: We have Apache server running on a windows 7 enterprise machine.

closed as unclear what you're asking by joeqwerty, Greg Askew, womble, Katherine Villyard, ErikE Aug 30 '15 at 20:42

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • it is very clear that a web interface instead of winform interface to operate scheduled job was requested in this question. there is a need for this to expose scheduled jobs to operators who don't have rdp access. i m not sure why this question has negative votes. – Esen Jun 12 at 10:43

You can run the scheduled task trough powershell, and you can execute powershell from php.

see https://stackoverflow.com/questions/5317315/executing-a-powershell-script-from-php for an example

Note that there's a native powershell web access in windows server 2012 (and powershell can connect to a remote workstation) :

Windows PowerShell® Web Access, first introduced in Windows Server® 2012, acts as a Windows PowerShell gateway, providing a web-based Windows PowerShell console that is targeted at a remote computer. It enables IT Pros to run Windows PowerShell commands and scripts from a Windows PowerShell console in a web browser, with no Windows PowerShell, remote management software, or browser plug-in installation necessary on the client device. All that is required to run the web-based Windows PowerShell console is a properly-configured Windows PowerShell Web Access gateway, and a client device browser that supports JavaScript® and accepts cookies.

source : https://technet.microsoft.com/en-us/library/Hh831611.aspx

Not the answer you're looking for? Browse other questions tagged or ask your own question.