Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Creating a cron job in asp.net core web application

$
0
0

Dear All,

I am trying to create a cronjob that would enable me populate the database of my website at the first time the web application is set up. This cron job is also suppose to backup data from this web application to another cloud platform.

The web application is running offline at the client premise or office environment.  So the web application is suppose to back up data online.

Here is my question.

From my experience with cron job. Cronjobs are more like external scripts that performs background operations. could be in any language. Please is this the same way in asp.net core.

If I am creating a cronjob do all this I have listed above, do I need to create a asp.net core exe that would run this .

Or do I just have a Background Task within my webapplication which would run with a scheduler.

Please if you have sample codes please share I would appreciate.

I just want to be sure that I am doing things the proper way so my application does not fail at the client location. Cos the cron job operations is very very important.

Thanks alot.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>