Using aspx webform to perform scheduled tasks without sitecore task manager

I wanted to open an aspx page to perform a simlpe scheduled task like sending some mails using Siteoce, and this is how simple it is ,..
first you have to make your webform of course.. and then open your webconfic and look for the <scheduling>tag and..

<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="01:00:00">
param desc="url">http://yourUrl.blah/sitecore/MySite.aspx</param>

this agent executes ones every hour, set by this atrbute interval=01:00:00

to make it work you have to exclude this site from beeng renderes as a sitecore site,.. and this is how you do it ,..

Set IgnoreUrlPrefixes to a '|' separated list of url prefixes that should not be
regarded and processed as friendly urls (ie. forms etc.)
setting name="IgnoreUrlPrefixes" value="/sitecore/default.aspx|/YOUR/FOULDER/NAME/HERE"



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: