+ Post New Thread
Results 1 to 5 of 5
Windows Thread, How do I allow my Windows web hosting clients to create scheduled tasks? in Technical; Post copied from my post at TechRepublic Hey everyone, Interesting question here. I run a small network for web hosting. ...
  1. #1
    link470's Avatar
    Join Date
    Nov 2007
    Location
    Canada
    Posts
    252
    Thank Post
    86
    Thanked 8 Times in 6 Posts
    Rep Power
    16

    How do I allow my Windows web hosting clients to create scheduled tasks?

    Post copied from my post at TechRepublic

    Hey everyone,

    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 02:14 AM.

  2. #2

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,268
    Thank Post
    884
    Thanked 2,747 Times in 2,321 Posts
    Blog Entries
    11
    Rep Power
    785
    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.

  3. Thanks to SYNACK from:

    link470 (4th June 2010)

  4. #3
    CSNM-Carl's Avatar
    Join Date
    Jan 2008
    Location
    Teesside
    Posts
    344
    Thank Post
    145
    Thanked 62 Times in 50 Posts
    Rep Power
    45
    Any decent hosting control panel system (Helm, DotNetPanel, Plesk) will provide your clients with the facility to set-up scheduled tasks.

  5. Thanks to CSNM-Carl from:

    link470 (9th June 2010)

  6. #4

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,268
    Thank Post
    884
    Thanked 2,747 Times in 2,321 Posts
    Blog Entries
    11
    Rep Power
    785
    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.

  7. Thanks to SYNACK from:

    link470 (9th June 2010)

  8. #5
    link470's Avatar
    Join Date
    Nov 2007
    Location
    Canada
    Posts
    252
    Thank Post
    86
    Thanked 8 Times in 6 Posts
    Rep Power
    16
    Great! Thanks guys, I'll look into these solution possibilities and report back if I have any issues.



SHARE:
+ Post New Thread

Similar Threads

  1. Group Policy Preferences - Scheduled Tasks
    By cookie_monster in forum Windows Server 2008
    Replies: 12
    Last Post: 16th November 2011, 10:16 AM
  2. Server 2003, NTBackup and Scheduled Tasks
    By OutToLunch in forum Windows
    Replies: 5
    Last Post: 23rd October 2009, 03:39 PM
  3. scheduled tasks
    By techie08 in forum Windows
    Replies: 0
    Last Post: 15th December 2008, 03:05 PM
  4. Looking for a little help with scheduled tasks
    By cromertech in forum Windows Vista
    Replies: 1
    Last Post: 8th February 2008, 05:28 PM
  5. Restore scheduled tasks
    By Jobos in forum Windows
    Replies: 1
    Last Post: 22nd June 2007, 01:07 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •