Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Murray Roke 503 posts 966 karma points c-trib
    Jun 10, 2010 @ 05:14
    Murray Roke
    0

    scheduledTaks improvements

    Most important Improvement:

    have relative paths work. (using localhost will not work in cassini nor will it work in shared hosting environments which for me means everywhere I have umbraco installed.)

    Other improvements:

    • If a 3 hour task runs at 1am and the server goes offline for 1 hour, it should next run at 4am.
    • If a 3 hour task runs at 1am and the server goes offline for 4 hours, it should next run when the application starts.
    • allow time of day scheduling.
    • If a time of day schedule is missed (or 2 are missed) because a server is offline the task should run once (and only once when the application starts)

    I think the simplest implementation would be to persist a collection of task alias' and 'last run time'

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Jun 10, 2010 @ 08:35
    Richard Soeteman
    0

    Hi Murray,

    I think Codeplex is a better place to add feature requests.

    For the Allow time of day feature checkout the TaskScheduler package I wrote.

    Cheers,

    Richard

  • Murray Roke 503 posts 966 karma points c-trib
    Jun 11, 2010 @ 01:10
    Murray Roke
    0

    Hi Richard, I saw your package, my only benefit for my current project is to allow relative paths.

    I was looking for a solution to that when I found your package, I'll keep it in mind if I do need time of day scheduling tho :-)

    I created an issue regarding improvements to scheduledTasks in codeplex.

     

Please Sign in or register to post replies

Write your reply to:

Draft