Start background job Asp.net 4.0 application -
i facing 1 problem. have create asp.net 4.0 web application should check table database after specified interval , iterates on records. have save of records having "xxxx" in column value. created class , class has timer having 1 minute of interval. on tick method iterates on records , filter out data save.
i created instance of class in application_start()
method in global.asax
method not fire. remember web application has no webform, not default.aspx
i cannot in windows service hosting provider not support windows service.
nothing in standard asp.net site run unless app started visitor.
if want scheduling functionality, either need create windows service or write small app can set using windows task scheduler (or cron if you're on linux)
Comments
Post a Comment