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?
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.
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?
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.
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
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
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
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
Hi Nauman,
I will post it on the projects section of this site. I will post a link to this threat also.
Cheers,
Richard
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
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
is working on a reply...
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.