-- A .NET web api a background service implemetation using IHostedService
---it generate a txt log file to a folder and log time and date in every 20 seconds interval.
-- this approch can be utilize to implement task scheduling,background service and you can use Timer in .NET
-- but this has nothing to do with cron job or a full fledge background service or scheduled task
- create folder
- create log.txt file
- write time and date to file with file stream