Copied to clipboard

Flag this post as spam?

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


  • Nauman 98 posts 118 karma points
    Mar 25, 2010 @ 13:21
    Nauman
    0

    scheduled tasks in umbraco (execute a script at given time)

    Hi

    I have written a script within Umbraco that needs to be run on a specific time (say at 12 midnight). I have created the script and auto executed it by doing following in umbracoSettings.config file, this executes the script perfectly after 30 second.

    <scheduledTasks>
        <!-- add tasks that should be called with an interval (seconds) -->
        <task log="true" alias="schedulepublish" interval="30" url="http://localhost/umbraco/plugins/scheduledPublish.aspx"/>
      </scheduledTasks>

    My question is how can I set up umbraco to run this script at 12 midnight or any given time in a day?

    Nauman

     

  • Walter E. Harms 13 posts 33 karma points
    Mar 25, 2010 @ 14:12
    Walter E. Harms
    0

    Hi,

     

    I don't know if this is possible, but i know Richard Soeteman is working on a packages that provides exactly this functionality. I don't know the timepath, but you can contact Richard if you like.He's very active on Twitter as well on this forum.

     

    gr. Walter

  • Richard Soeteman 3875 posts 12037 karma points MVP
    Mar 25, 2010 @ 17:41
    Richard Soeteman
    0

    Hi,

    Indeed I'm working on this functionality. Isn't ready for testing atm though. I expect a testable version to be ready in 2 weeks, maybe sooner.

    Cheers,

    Richard

  • Nauman 98 posts 118 karma points
    Mar 26, 2010 @ 06:53
    Nauman
    0

    Thanks Richard for your response. I am waiting for your package. Where I could find it once you done your testing etc. Can you post the link here when its all done?

    Cheers

    Nauman

  • Richard Soeteman 3875 posts 12037 karma points MVP
    Mar 26, 2010 @ 08:49
    Richard Soeteman
    0

    Hi Nauman,

    I will post it on the projects section of this site. I will post a link to this threat also.

    Cheers,

    Richard

  • Ranjit J. Vaity 58 posts 101 karma points
    Mar 27, 2010 @ 11:10
    Ranjit J. Vaity
    0

    Hi Nauman,

    Do you want to perform any database related task (insert,update or delete) every mid-night?

    If yes, then I have alternative option....

    try this: http://www.lazycoding.com/products.aspx

    regards,

    Ranjit J. Vaity

     

  • Nauman 98 posts 118 karma points
    Mar 29, 2010 @ 08:19
    Nauman
    0

    Hi Ranjit

    Thanks for suggesting the solution. I want to execute a script that does some sql queries and some other tasks as well. In short its not a pure sql functionlaity. Thanks again for the suggestion.

    Nauman

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies