Results 1 to 5 of 5

Thread: scheduled script

  1. #1
    Join Date
    Jun 2005
    Location
    Tunbridge Wells, Kent
    Posts
    206
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default scheduled script

    what's the best/easiest way to execute a scheduled .net script on a dedicated server?

  2. #2
    Join Date
    Jan 2006
    Posts
    419
    Thanks
    2
    Thanked 16 Times in 16 Posts

    Default

    Is the script a webform or a console app. If later a scheduled task is the best method.

  3. #3
    Join Date
    Jun 2005
    Location
    Tunbridge Wells, Kent
    Posts
    206
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default

    yes, just a .net web form.

    we've been having trouble with windows scheduler being unreliable (missing times?)... just wondered if there was a better option for the guy trying to make it work!...?

  4. #4
    Join Date
    Jan 2006
    Posts
    419
    Thanks
    2
    Thanked 16 Times in 16 Posts

    Default

    A window service can be the most reliable and you would basically code it to run 24-7 and then at certain times get it to perform an action. We then have a second piece of code (a scheduled task) which runs every 10 mins to ensure that the service is logging to a text file which is a sign it is still running and has not fell over. If the scheduled task was not to run then it is bad luck.

    Otherwise a scheduled task is a good option. If you are having problems with it not running, check the error code when it last run to ensure that it finished in time, ensure it is configured to run under the correct user account, get the program to log every time it starts to run and also finishes.

    Otherwise if you want a webform to run the code you would need to write one of the above to call the webform which would probably make the webform redudant as the code can be in the service or scheduled task.

  5. #5
    Join Date
    Apr 2006
    Location
    Bath
    Posts
    180
    Thanks
    1
    Thanked 9 Times in 6 Posts

    Default

    Helm has a website scheduler (defaultly disabled on RFH) but give warren a support ticket and he'll setup the scheduled task for you.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mail Script
    By chet in forum Web Applications and Scripts
    Replies: 3
    Last Post: 13th May 2007, 07:38 PM
  2. Scheduled Jobs
    By davidbending in forum Sales and Service Feature Enquiries
    Replies: 3
    Last Post: 5th October 2006, 03:02 PM
  3. Dating script recommendation
    By terraqueotenaz in forum Web Applications and Scripts
    Replies: 8
    Last Post: 14th March 2006, 11:36 AM
  4. forum script
    By Space Cowboy in forum Forum/Community Applications
    Replies: 23
    Last Post: 14th December 2005, 04:23 PM
  5. Hi..Question about Perl script
    By olearydc in forum Development Support
    Replies: 2
    Last Post: 23rd May 2005, 08:01 AM

Bookmarks

Posting Permissions

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