c# - Windows Service is running but not updating blob/local file -


i have windows service uploads files blob. set blob name year_month_date inside service. log status in local folder cross check. local log file created same format. set timer in service logs "ping {datetime.now.tostring()}". working when install service. problem is,service has status running, did not create new blob new date in next day morning. can ? code :

  var blobref = container.getblockblobreference($"{cityname}/{datetime.now.year}_{ datetime.now.tostring("mm")}_{datetime.now.tostring("dd")}/{model.callerid}_{model.interactionid}{path.getextension(callermastermodel.filename)}"); 

but when restart service, again starts working.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -