How does the Publish On date and Remove At date work in Umbraco.
I would like to have similar functionality with starting and stopping an auction item, basically I want to have a state on a document that is altered automatically similar to how the publish dates work.
Out of the box Umbraco does have a feature to schedule a task. The task is configured in UmbracoSettings.config. You provide a url ( to a handler for example ) and duration and a request will be made to your handler.
As it this functionality runs within the site, if the app pool stops the scheduled task will not be executed.
There is also a package called TaskScheduler that lets you schedule requests in a similar fashion. It can be configured through the backoffice and has more granular scheduling options. However I would suspect it suffers from the same issue that the app pool must be running. One solution to this problem is regularly pinging the site to ensure it is always running.
Another option would be to develop a console app ( and use the Windows scheduler ) or a Windows Service that checks the status and starts and stops the auction.
Date and time functionality
How does the Publish On date and Remove At date work in Umbraco.
I would like to have similar functionality with starting and stopping an auction item, basically I want to have a state on a document that is altered automatically similar to how the publish dates work.
Out of the box Umbraco does have a feature to schedule a task. The task is configured in UmbracoSettings.config. You provide a url ( to a handler for example ) and duration and a request will be made to your handler.
As it this functionality runs within the site, if the app pool stops the scheduled task will not be executed.
There is also a package called TaskScheduler that lets you schedule requests in a similar fashion. It can be configured through the backoffice and has more granular scheduling options. However I would suspect it suffers from the same issue that the app pool must be running. One solution to this problem is regularly pinging the site to ensure it is always running.
Another option would be to develop a console app ( and use the Windows scheduler ) or a Windows Service that checks the status and starts and stops the auction.
is working on a reply...