Windows Thread, How do I allow my Windows web hosting clients to create scheduled tasks? in Technical; Post copied from my post at TechRepublic
Interesting question here. I run a small network for web hosting. ...
4th June 2010, 01:10 AM #1
How do I allow my Windows web hosting clients to create scheduled tasks?
Post copied from my post at TechRepublic
Interesting question here. I run a small network for web hosting. I have ISA at the perimeter, and a web server, mail server, and database server inside the network. My question is about the web server, Windows Server 2008 running IIS 7.
I have a few clients/friends who would like the ability to schedule scripts to run for websites they're working on. This is very easy to do if the client uses a UNIX based web server with an SSH connection and creates a cron job using crontab, but how do I do this with someone only having FTP access to their web root on the server?
Yes, I can schedule the task for them using Scheduled Tasks. But there has to be a better way. I don't have time at the moment to rebuild my network and use UNIX/Linux hosts, and as much as I wouldn't mind creating tasks for my users/friends, they'd love the ability to schedule a "cron job" themselves on my web server.
I tried Googling but all I could find were articles repeatedly saying "oh that's easy you just have to use Scheduled Tasks!". That's great, for me. But my users only have FTP access, not administrative RDP access to the box.
Thanks in advance for any advice!
Last edited by link470; 4th June 2010 at 01:14 AM.
IDG Tech News
4th June 2010, 10:54 AM #2
Not sure if this will still work with later versions of IIS but this may allow for a way to do it through ASP
WMI Tasks: Scheduled Tasks (Windows)
it runs through WMI so it should work fine, there are some older ways to do it that may work to 15 Seconds : Programming the Task Scheduler
This may let you create a portal page for people to create their own tak or they can customize it to add their own tasks then run it by visiting the script page.
4th June 2010, 05:34 PM #3
Any decent hosting control panel system (Helm, DotNetPanel, Plesk) will provide your clients with the facility to set-up scheduled tasks.
Thanks to CSNM-Carl from:
4th June 2010, 05:52 PM #4
The other option is to setup the telnet server feature and give them a logon that way, this will give them a command prompt under their logon credentials from which they could use the AT command to setup any required tasks.
Telnet runs over an unencrypted plain text though so it is not overly secure but there again neither is FTP. So long as the accounts are propperly locked down it should be another possible solution simmialr to what they may be used to under a *nix system without a hosting control pannel.
9th June 2010, 01:22 AM #5
Great! Thanks guys, I'll look into these solution possibilities and report back if I have any issues.
By cookie_monster in forum Windows Server 2008
Last Post: 16th November 2011, 09:16 AM
By OutToLunch in forum Windows
Last Post: 23rd October 2009, 02:39 PM
By techie08 in forum Windows
Last Post: 15th December 2008, 02:05 PM
By cromertech in forum Windows Vista
Last Post: 8th February 2008, 04:28 PM
By Jobos in forum Windows
Last Post: 22nd June 2007, 12:07 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)