shah-smit / observability-spring-demo

https://youtu.be/gJ9f32PyBnM
0 stars 0 forks source link

Filename Logic Update #6

Open shah-smit opened 4 years ago

shah-smit commented 4 years ago

If it is last working day, then cut of 2030hrs.

also we dont want to calculate if last business day or not every day as such, lets use env variable to store,

isLastWorkingDayToday={false,true} date_last_calculated=31102020

if does not exist, then calculate if date_last_calculated is not today, then calculate else use the {false,true} to determine further.

shah-smit commented 4 years ago

https://robm.me.uk/ruby/2014/01/25/pstore.html

may help with sotring data rather using env var.

shah-smit commented 4 years ago

https://stackoverflow.com/questions/15208890/get-the-day-of-the-last-friday-of-each-month