Answer the question
In order to leave comments, you need to log in
What is the best way to store the parser traversal time interval?
Hi all.
I ran into a problem, there is a written parser for vk, and you need to make a bypass time interval, i.e. for example, so that on Monday it works only from 14:00 to 17:00, on Tuesday from 16:00 to 20:00, and so on.
I have never encountered this and I would like to ask how best to store all this data in the database for more flexible management.
Right now I'm leaning towards this option.
[
["Monday", "16:00", "20:00"],
["Tuesday", "17:00", "1800"],
["Wednesday", "12:00", "15:00"],
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question