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

javascript - How do you prevent nested queries/catches in sequelize? -

java - Could not retrieve pre-bound Hibernate session - Could not obtain transaction-synchronized Session for current thread -

ruby on rails - ActiveRecord order not working -